Repository navigation
manage-users role is a way too broad #13604
Replies: 3 comments 5 replies
|
There should be a fine-grained permissions feature that you may want to try to take a look at. It appears to enable a lot of functionality after you enable it (it's not enabled by default, but you can manually enable it when creating a new client, or from the options page of an existing client). I have not had the time to look at it in detail, but it may be a good first step. Not sure if it has come out of technology preview yet, as mentioned here, but the new admin interface has the option to enable it. |
|
I agree that manage-user is way too broad. I believe that my PR for support granular permission will solve the problem. |
|
Three years later this is still an issue! "manage-users" (or "manage" scope in fine grained 2) violates principle of least priviledges. There should be a separate create-, update-, read-, delete-users and maybe even some more to support e.g. create-users only permissions by api. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi
Keycloak 19.0.1
Maybe I am missing something but can not find a way to restrict newly created client role to user creation only. Seems like manage-user do the job but from security perspective it is way too broad.
How can i reduce role scope only to standard CRUD actions for service account roles?
I use only Keycloak REST API + Spring Boot Adapter for authorization.
P.S.
Regards,
Andrey
All reactions