You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
nihal467
changed the title
Hide Facility link and unlink button for non-admin users
Refactor user privileges in linked facility functionality
May 16, 2024
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: