Empty groups not visible to indirect group members
Summary
Empty groups are not visible to users when viewed by group members with indirect access.
Steps to reproduce
- Namepspace
- OrgGroup
- UserGroup
- [add test user to UserGroup]
- UserGroup
- Group
- Subgroup
- EmptyGroup
- Subgroup
- OrgGroup
Invite UserGroup
to SubGroup
with Maintainer access; the group EmptyGroup
will not be visible, but can be browsed if the URL is entered manually.
Example Project
N/A, see above example.
What is the current bug behavior?
The empty group is not visible.
What is the expected correct behavior?
The group should be visible.
Relevant logs and/or screenshots
Output of checks
GitLab Enterprise Edition 15.7.0-pre a568be74
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
Edited by Kristof Goossens