Delete person icon is visible for the unauthorized user roles who don't have person delete permission. #1196
Labels
change request
Enhancement
New feature or request.
Fix Proposed
When pull request is proposed for the issue.
Fixed
Bug fixed.
Bug report
馃敂 Delete person icon is visible for the unauthorized user roles who don't have person delete permission.
If I log in as any other user role and that user role doesn't have permission to delete a person but still I can see the delete button although the delete button does not delete the user and as expected there is an error message about permission. I think it should hide the delete button if the user doesn't have permission to delete any person from the table.
Screencast for the issue.
Watch Video
Steps to reproduce
Here is how you can reproduce the issue
I would love to fix the issue and I will send a PR very shortly.
Thanks
Saroar Hossain
The text was updated successfully, but these errors were encountered: