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
- Enable the feature flag:
Feature.enable(:multiple_environment_approval_rules_fe)
- Navigate to a project's environments page Deployments > Environments
- Add an environment
- Navigate to the CI/CD settings page Settings > CI/CD
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
For #378445 (closed)
Edited by Andrew Fontaine