Sub-groups' members don't inherit access to Parent group's projects
Summary
Consider a Project with a Parent group as a member of the project. The members of the Child groups (as subgroups) of the Parent group don't have access to this Project.
Steps to reproduce
- Create a Parent group
- Create a Child sub-group of the Parent group
- Assign a Person to the Child sub-gropu
- Create a Project
- Assign the Parent group to the Project
- The Person doesn't have access to the Project
What is the current bug behavior?
The Person does not have access to the Project to which its Parent group is assigned
What is the expected correct behavior?
The Person should inherit the access right from the Parent group and to be able to access the Project.
Graphic
+- Project +
|
+ members +
|
+ Parent group
+ Parent group +
|
+-+ Child Group +
|
+ members +
|
+ Person
Why we need this
We have entities from different countries (CZ, PL, DE, ...) and each entity have subgroups (Marketing, Sales, Development). We want to be able to assign a country group (eg. CZ) to any project and allow all members of subgroups to access that project.
Related
As we need to assign ALL subgroups to the project, the list of groups becomes not easy to read: https://gitlab.com/gitlab-org/gitlab-ee/issues/31881