[keycloak-user] Adding role to existing users
Sebastien Blanc
sblanc at redhat.com
Mon Dec 12 08:40:00 EST 2016
I'm afraid there is no out of the box solution. I see 2 options :
- custom SQL query to add the role to the users,
- creating a group , sql query to add allusers to this group and add the
role to the group, so next time you add again a new role, all the users
from the group will have it.
On Sun, Dec 11, 2016 at 7:21 PM, Guus der Kinderen <
guus.der.kinderen at gmail.com> wrote:
> What options are available when one would need to add one or two new roles
> to every pre-existing user of a realm? The existing user base can be pretty
> large any thousands of users), which makes a one-user-at-a-time approach
> sound inefficient.
>
> - Guus
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list