Shared group are not shown in members page of projects

Summary

When a group is added to member of another group, it is only visible in the top level group member page even though it has access to subgroups and projects.

Steps to reproduce

  1. Create Group A
  2. Create Group B, subgroup subgroup b-1, and project project b-p-1
  3. Invite Group A as member of Group B
  4. Observe Group A in member page of Group B and invisible in the member page of subgroup b-1, and project b-p-1

What is the current bug behavior?

Invited Group as a member is not shown in projects member page.

What is the expected correct behavior?

Invited Group is shown in all inherit projects that it has access to.

Output of checks

This bug happens on GitLab.com

Edited by Gosia Ksionek