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
In assign role dialog, the filter dropdown is missing when having only manage-user role #22079
When having a user with "realm-management / manage-users" role and open the assign role dialog for a user or a group then the filter dropdown is not visible:
This leads to the problem, that only client-roles and no realm roles can be applied.
Version
22.0.1
Expected behavior
The filter dropdown should be visible always, when the dialog can be open:
Actual behavior
Missing filter:
How to Reproduce?
Create a user for the realm with "realm-management / manage-users" role and try to apply a role to an existing user
We did just recently change the UI for this, but it is working as designed. In order to assign realm roles, you must have at least "view-realm" access. So the UI now reflects that.
Activity
ssilvert commentedon Jul 30, 2023
We did just recently change the UI for this, but it is working as designed. In order to assign realm roles, you must have at least "view-realm" access. So the UI now reflects that.
ssilvert commentedon Jul 30, 2023
Hmm. I took another look and you should also be allowed to assign realm roles if you have "query-users" access.
However, "manage-users" alone isn't enough. Strangely, "manage-users" does not include "query-users".
I'm going to make the change so that you can assign realm roles with "query-users" access. Hope that fixes your problem.
Allow assign realm roles with query-users access.
joggeli34 commentedon Jul 31, 2023
Yes this will fix our problem, as we indeed also have the "view-users" role which includes "query-users" and "query-groups".
thanx
Allow assign realm roles with query-users access. (#22097)
Allow assign realm roles with query-users access. (#22396)