Skip to content

List all protected environments for editing

What does this MR do and why?

Show all currently protected environments in an accordion. The accordions will contain the details of the protected environments.

This will display all protected environments, but only allow editing of environments protected by multiple approval rules.

Behind the :multiple_environment_approval_rules_fe feature flag.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Enable the feature flag:
Feature.enable(:multiple_environment_approval_rules_fe)
  1. Navigate to a project's environments page Deployments > Environments
  2. Add an environment
  3. Navigate to the CI/CD settings page Settings > CI/CD
  4. Protect the environment
  5. View the protected environment

MR acceptance checklist

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

For #378446 (closed), part of !109157 (closed)

Merge request reports

Loading