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

Prevent Admin user from de-leveling its own permissions #9326

Open
asandoval opened this issue Sep 27, 2024 · 0 comments
Open

Prevent Admin user from de-leveling its own permissions #9326

asandoval opened this issue Sep 27, 2024 · 0 comments
Labels
Type: Improvement 📈 Minor improvements not introducing a new feature or requiring a major refactor

Comments

@asandoval
Copy link

Description

version 0.9.1

When logged in as the default admin, the client allows you to change that user's role from ServiceRole.ADMIN. It's preferable that this user update call fail. If it is a desired action, the user should be prompted to reissue the command from a different admin account. (Though, after having done this I'm finding many reasons not to lessen the permissions of that user).

Furthermore, it appears impossible to change back the role of the default admin -- even as a different admin user.

Are you interested in working on this improvement yourself?

Yes, in collaboration with OM.

Additional Context

Add any other context or screenshots.

@asandoval asandoval added the Type: Improvement 📈 Minor improvements not introducing a new feature or requiring a major refactor label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement 📈 Minor improvements not introducing a new feature or requiring a major refactor
Projects
None yet
Development

No branches or pull requests

1 participant