Skip to content

Include subgroups for protected env group dropdown

What does this MR do and why?

This MR implements #425840 (closed) by showing subgroups of a given group in selected groups dropdown.

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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image Screenshot_2024-01-05_at_15.20.05

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create group main
  2. Assign the group to Ultimate plan (view the group in admin area, and select an Ultimate plan in Permissions and group features section.
    Click to expandScreenshot_2024-01-05_at_15.13.32
  3. Create sub-group users
  4. Create sub-subgroups developers and deployers of users group
  5. Navigate to group level CI/CD settings for `main group
  6. Create new protected environment
  7. Check that all three groups are selectable in the protected environment (users, developers and deployers)
Edited by Andrei Zubov

Merge request reports