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

Any user with permission to create/edit users can effectively assign himself or any other user any permissions #10443

Closed
juro opened this issue Sep 17, 2010 · 2 comments
Labels
area-security proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.

Comments

@juro
Copy link

juro commented Sep 17, 2010

juro created Redmine issue ID 10443

Situation: admin needs to create special user/role/policy (e.g. Manager) that is able to create/edit other users (e.g. department manager can manage users from his dept.) To be effective, manager must have at least these permissions: access_permissions (at least User management action must be visible in top menu) new_user, view_user, edit_user, delete_user, save_user, view_role Sadly this also means that Manager can: delete or disable admin add himself or any user any role (Superuser) and assign to any User group (Administrator) it also means he can create snippets and plugins, thus effectively run any PHP code on server, access database directly etc. The resolution would be that anybody can assign (view) roles up to his own role and assign to his own user groups.

@splittingred
Copy link

splittingred submitted:

I think the best solution is to add a few more permissions, as it seems 'access_permissions' is bearing too much of the weight. We'll address this in 2.0.3.

@rtripault
Copy link
Contributor

Closing in favor of #11208 which has some more discussion.
Feel free to comment there too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-security proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.
Projects
None yet
Development

No branches or pull requests

3 participants