Show projects in the Shared Project tab when a group has "inherited" permissions to projects from being invited to another group

Proposal

Similar to Provide a way to show projects where a group ha... (#443613). At the moment, when a group is invited to a project, the project is listed in the invited group Shared Projects tab. But if Group A is invited as a member of Group B, all the projects in the Group B doesn't show up in the Group A Shared Projects tab.

If Group A is invited to Group B as a member, all Group B projects should be visible in the Shared Projects tab in group A.