You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to let members of a group have only access to their own group?
#42013
Hello,
we have been using keycloak as a storage for the users of our customers. There are 2 groups per customer, one for normal users and one for admins. For example CUS-1-admin and CUS-1-user. Right now the admins can manage the users with a website that connects to keycloak. We want to use let them use the admin console, but only see, add, edit and delete from their own group and the group of the normal users. I understand that this is probably not the best way to do it, but we're stuck with it for now.
The groups all have to roles, query-realms, query-groups, query-users and view-realms.
I enabled permissions and created a client policy under realm-management that contains the groups and added it to all the permissions (manage, manage-members-membership, view,view-members), but it doesnt seem to work. If I log in with a test user groups and users are completely empty. The new fine grained permission look like they could help, but Im not sure.
I didn't find any information about how to tackle this problema and would greatly appreciate any help.
Thanl you
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
we have been using keycloak as a storage for the users of our customers. There are 2 groups per customer, one for normal users and one for admins. For example CUS-1-admin and CUS-1-user. Right now the admins can manage the users with a website that connects to keycloak. We want to use let them use the admin console, but only see, add, edit and delete from their own group and the group of the normal users. I understand that this is probably not the best way to do it, but we're stuck with it for now.
The groups all have to roles, query-realms, query-groups, query-users and view-realms.
I enabled permissions and created a client policy under realm-management that contains the groups and added it to all the permissions (manage, manage-members-membership, view,view-members), but it doesnt seem to work. If I log in with a test user groups and users are completely empty. The new fine grained permission look like they could help, but Im not sure.
I didn't find any information about how to tackle this problema and would greatly appreciate any help.
Thanl you
All reactions