Allow users to unprotect environments
What does this MR do and why?
In the new UI, unprotecting a protected environment was left to last as it was an easy addition. The user is asked for confirmation before unprotecting.
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
- expand environment block
- unprotect 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andrew Fontaine