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
User administration: It is not possible to assign a user to a subgroup of an assigned parent group in order to obtain more rights #21173
I have reproduced the issue with the latest release
Area
admin/ui
Describe the bug
I have the following group structure:
The following roles are now in the respective groups:
IT: it-role
IT/Department: department-role
IT/Department/Backend: backend-role
IT/Department/Frontend: frontend-role
The principle of group hierarchy when assigning roles is as follows: If a user is in the group IT/Department. He gets the roles from the group IT and the subgroup: Department.
So: it-role & department-role
In this example, I have created a user who I have assigned to the group: IT/Department. As described in the picture, he is in the groups IT and Department, and has the following rights from the groups.
So far so good, now to the problem:
If I now want to give my user more rights by assigning him to the subgroup "Frontend" of IT/Department via the user administration, this is not possible because the item is greyed out.
In my opinion, in this case it should be possible to go deeper into the group structure. Because this way you understand that you cannot go deeper because it has the same properties from the subgroups, which is not true.
Furthermore, it would be clearer for the group assignment in the user administration if the general group tree structure could be displayed there. So that you can see directly which parent groups and subgroups there are.
So this view:
If you add the user to the subgroup via the group administration, this is possible. But it should also be possible via the user administration.
Version
21.1.1
Expected behavior
That you can also assign a user to a subgroup via the user administration if the user is already in the parent group.
Furthermore, it would be helpful to have the tree structure of the groups in the user administration.
Actual behavior
How to Reproduce?
By explaining the problem, it should be possible to recreate the problem.
Anything else?
No response
Reacted by Finn Egbers, Björn Dirksen, xTobias and Simon Daus
in version 22.0.3 the issue is not fixed when you browse to Users / User detail / Groups / Join Group... top level groups are not browsable so you can't select a subgroup.
Activity
ssilvert commentedon Jun 28, 2023
I agree this is a bug. It's fine for it to be greyed out, but you should still be able to navigate deeper.
As for adding the tree view to the "join" dialog, that's a feature request. Please create a feature request for it and link to this issue.
ssilvert commentedon Jun 28, 2023
Set to medium impact because there is a workaround.
made added groups browsable
made added groups browsable (#21588)
made added groups browsable (keycloak#21588)
made added groups browsable (#21588) (#22658)
grazius commentedon Sep 13, 2023
in version 22.0.3 the issue is not fixed when you browse to Users / User detail / Groups / Join Group... top level groups are not browsable so you can't select a subgroup.
Best regards
ping @edewit @npriebe (you confirm?)
jonkoops commentedon Sep 14, 2023
@grazius if you are still experiencing problems, please log a new issue, it will make it easier for us to track.