Refactor protected environments form for approvals
What does this MR do and why?
Adds the ability to display a protected environments approval rules, as well as edit the required approval count.
Also allows for adding and deleting those rules.
Screenshots or screen recordings
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
- View the protected environment
- add an approver rule
- edit an approver rule
- delete an approver rule
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