care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Refactor user privileges in linked facility functionality

Open nihal467 opened this issue 10 months ago • 2 comments

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:

  1. Go to user tab. and click facilities button ( With nurse user ID)
  2. Click on clear the home facility icon
  3. 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

image

nihal467 avatar Apr 14 '24 15:04 nihal467

i would like to work on this can you please assign this to me

UdaySagar-Git avatar Apr 14 '24 16:04 UdaySagar-Git

@UdaySagar-Git Unassigning you from this issue due to inactivity. Feel free to reassign yourself if you are still working on it.

nihal467 avatar Apr 27 '24 07:04 nihal467