Skip to content

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
image image

How to set up and validate locally

  1. Enable the feature flag in the rails console: Feature.enable :webui_members_inherited_users.
  2. Create a group Shared Group and a project Project under it.
  3. Create another top-level group Invited Group and add a user U to it. Then invite Invited Group to Shared Group by using Invite a group button on the shared group membership page https://gdk.test:3000/groups/shared-group/-/group_members?tab=0.
  4. 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 user U.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #418889 (closed)

Merge request reports