care_fe
care_fe copied to clipboard
Refactor user privileges in linked facility functionality
Describe the bug
- [ ] When the nurse user trying to unlink themselves from a home facility, they are not allowed to perform this action and there are multiple error thrown in the frontend, which is little bit confusing
- [ ] When the nurse user try to unlink themselves from a linked facility, they are allowed to do that action
To Reproduce Steps to reproduce the behavior:
- Go to user tab. and click facilities button ( With nurse user ID)
- Click on clear the home facility icon
- See error
Expected behavior
- [ ] When the nurse user trying to unlink themselves from a home facility, they should be able to do it.
- [ ] When the nurse user try to unlink themselves from a linked facility, they should be able to do it.
Screenshots
i would like to work on this can you please assign this to me
@UdaySagar-Git Unassigning you from this issue due to inactivity. Feel free to reassign yourself if you are still working on it.