Skip to content

Update protected environments to handle group view

What does this MR do and why?

This MR switches the group-level protected environments settings to the new Vue app introduced in !157686 (merged). It cleans up the former views and updates tests.

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
Screenshot_2024-07-02_at_15.38.13 Screenshot_2024-07-02_at_15.34.54
Screenshot_2024-07-02_at_15.38.32 Screenshot_2024-07-02_at_15.35.31
Screenshot_2024-07-02_at_15.38.42 Screenshot_2024-07-02_at_15.35.52

How to set up and validate locally

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

  1. Note: this is an EE feature, you'll need a licence to verify it locally
  2. Visit Group -> Settings -> CI/CD
  3. Select Protected environments section
  4. Verify the settings: you should be able to select an environment tier, the list of deployer and approvers (could be roles, sub-groups, or members of the group), save / edit / unprotect an environment.

Related to #362236

Edited by Anna Vovchenko

Merge request reports