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

[Feature Request]: Limit User Creation Privilege to less than or equal to creating user #15514

Open
Breezelaters opened this issue Sep 16, 2024 · 1 comment

Comments

@Breezelaters
Copy link

Is your feature request related to a problem? Please describe.

This sort of falls under an escalation of privilege bug, but I'm entering it as a feature request. A user that has read only privileges to almost everything has been given user create privileges. That user is now able to create users that have vastly higher permissions than they have. While they can't create a superadmin or admin accounts, they are able to give themselves or others create/delete permissions. The use case for this is providing a client the ability to create users to check assets out to staff in their own company without having me, as the superadmin, to create users for them.

Describe the solution you'd like

When allowing an authorized user to create additional accounts, only allow them to select permissions that are equal to or lower than their own permissions. Alternatively, force them to select a pre-defined group that have read only permissions or force the account they create to not have login privileges to Snipe.

Describe alternatives you've considered

No response

Additional context

No response

Copy link

welcome bot commented Sep 16, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

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

No branches or pull requests

1 participant