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

api should not allow user delete for Manager role #38

Open
devincowan opened this issue Mar 7, 2023 · 1 comment
Open

api should not allow user delete for Manager role #38

devincowan opened this issue Mar 7, 2023 · 1 comment

Comments

@devincowan
Copy link
Collaborator

devincowan commented Mar 7, 2023

need to modify Manager role
we decided that user should only be deactivated
Manager should not be able to delete users

@devincowan
Copy link
Collaborator Author

Interesting, seems to me that managers should already be unable to delete users:
https://github.com/DendraScience/dendra-web-api/blob/master/src/server/lib/rules.js#L238

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

No branches or pull requests

2 participants