I'd like to have a user that is limited to managing a group of users and only those users in Keycloak. The idea is he can add users to that group, remove them from the group and also create new users that belong to that group.
I have been unable to figure out how to do the last part. I am able to assign the "manage" role to the user but then he is able to list and manage all users in Keycloak.
I have thought of going the route of several realms (instead of groups) but then I have to have an account in each realm for the same user if he is to manage several realms instead of one single account.
Is there a better way to achieve this setup (Akin a organization setup where a person can belong to several organizations and manage some/all of them, without having to have several accounts)?
I am using Keycloak 4.6