Skip to content

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

Closed

Description

@npriebe

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

admin/ui

Describe the bug

I have the following group structure:

groupStructure

The following roles are now in the respective groups:
IT: it-role
itRole

IT/Department: department-role
departmentRole

IT/Department/Backend: backend-role
backendRole

IT/Department/Frontend: frontend-role
frontendRole

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.
userGroup

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.
joinSubGroup

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:
groupStructure

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.
Screenshot from 2023-06-23 14-33-48

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

Activity

  1. added
    kind/bug
    on Jun 23, 2023
  2. ghost added
    area/account/ui
    on Jun 23, 2023
  3. added
    area/admin/ui
    and removed
    area/account/ui
    on Jun 28, 2023
  4. ssilvert commented on Jun 28, 2023

    @ssilvert
    Contributor

    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.

  5. ssilvert commented on Jun 28, 2023

    @ssilvert
    Contributor

    Set to medium impact because there is a workaround.

  6. added a commit that references this issue on Jul 11, 2023
    474e055
  7. added a commit that references this issue on Jul 18, 2023
    5ee89ea
  8. added this to the 22.0.2 milestone on Jul 18, 2023
  9. added a commit that references this issue on Aug 23, 2023
    bb712da
  10. added a commit that references this issue on Aug 23, 2023
    7c9525d
  11. grazius commented on Sep 13, 2023

    @grazius

    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?)

  12. jonkoops commented on Sep 14, 2023

    @jonkoops
    Contributor

    @grazius if you are still experiencing problems, please log a new issue, it will make it easier for us to track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/admin/uikind/bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions