Skip to content

Refactor out new deployment approval rule form

What does this MR do and why?

This is going to be used as part of adding new approval rules to existing protected environments. It handles the fetching of details for selected access levels, displaying avatars (if any), and setting required approval counts for the rule.

Screenshots or screen recordings

No visual changes

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, with approvers

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 #378445 (closed)

Edited by Andrew Fontaine

Merge request reports

Loading