Skip to content

Show private invited group members to shared project members

What does this MR do and why?

Show private invited group members to shared project members

We're doing this to enable shared project members to see who all can access the project which will enable better collaboration among all the project members.

Before we enable the feature flag we will make changes to hide the source of membership of the current user is not part of the private invited group.

We have done the same for group in Show private group invited members to shared gr... (!143651 - merged).

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Query plans

Before

https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/26149/commands/82236

After

https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/26149/commands/82237

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Login using user1 and create 2 groups called Group1 & Invited-group.
  2. Create Shared-project under Group1
  3. Invite user2 to Invited-group and user3 to Shared-project.
  4. Now invite Invited-group to Shared-project using the Invite a group button on https://gdk.test:3000/group1/shared-project/-/project_members
  5. Enable the feature flag: Feature.enable :webui_members_inherited_users.
  6. Now log in using user3.
  7. Check out this branch and you can now see user2 on the Shared-project members page which you can't see on the master branch.

Related to #418888 (closed)

Edited by Abdul Wadood

Merge request reports