Hi,

we just found one admin use case which is not covered by existing Keycloak and its Admin GUI.

When you create new Client later and define some default role/s for it, then there is not any way how to assign these roles to existing users.
Problem is that default roles are assigned to users in DB when they are created. Then admin GUI allows to assign roles for one user only, not too useful when you have hundreds or thousands of users ;-)
Only workaround for now is to write script which uses REST API to assign new default roles to all existing users.

I see these possible solutions:
WDYT, which solution should be better?

Cheers

Vlastimil

-- 
Vlastimil Elias
Principal Software Engineer
jboss.org Development Team