Show members from groups invited into project ancestors
What does this MR do and why?
We already return the members invited into the ancestors of the project
in the GET /projects/:id/members/all
API. Here we are making the
project membership page consistent with it. The changes here are behind the
webui_members_inherited_users
feature flag and will be enabled in [Feature flag] Enable members/all inherited mem... (#364078).
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable the feature flag in the rails console:
Feature.enable :webui_members_inherited_users
. - Create a group
Shared Group
and a projectProject
under it. - Create another top-level group
Invited Group
and add a userU
to it. Then inviteInvited Group
toShared Group
by using Invite a group button on the shared group membership page https://gdk.test:3000/groups/shared-group/-/group_members?tab=0. - On the master branch you won't see the user
U
on the project members page https://gdk.test:3000/shared-group/project/-/project_members but on this branch, you should see the userU
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #418889 (closed)