Subgroup visibility for private subgroups under a public parent group.
In the lists of subgroups under a public group, it shows private subgroups.
Steps to reproduce
- Set the parent group public.
- Create a private subgroup
- View the Subgroups list on the parent public group.
What is the current bug behavior?
You can see the subgroups (although clicking on them correctly denies permission)
What is the expected correct behavior?
Only groups that are public or you have permission to view should be visible. The same as Private Groups and Private Projects.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com