Allow to add inherited members to the group level protected environments

What does this MR do and why?

Allow to add group members with inherited membership to group level protected environments via UI.

Screenshots or screen recordings

Before After
before.mov after.mov

How to set up and validate locally

  1. Create a group and a sub-group.
  2. Add group-level and sub-group level members.
  3. Create a protected environment on the sub-group level. The "Allowed to deploy" and "Approvers" lists should include members from both the group and sub-group levels.
  4. Edit the members in the "Allowed to deploy" and/or "Approvers" lists within the newly created protected environment. The list should include members from both group and sub-group levels.

Related to #518715 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading