Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User facility unlink permission issue #4571

Closed
Pranshu1902 opened this issue Jan 12, 2023 · 0 comments · Fixed by #4570
Closed

User facility unlink permission issue #4571

Pranshu1902 opened this issue Jan 12, 2023 · 0 comments · Fixed by #4570
Assignees

Comments

@Pranshu1902
Copy link
Contributor

Describe the bug
A user is able to unlink facility of other user from another districts.

To Reproduce
Steps to reproduce the behavior:

  1. Signin as a DistrictAdmin
  2. Go to user's section
  3. Find any other user from a different state and unlink facilities from its list.
  4. See result

Expected behavior
The delete button shouldn't be visible for users from another district.

Related to #1152

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant