Skip to content

Protect environments with multiple approval rules

Andrew Fontaine requested to merge afontaine/multiple-approval-rules-fe into master

What does this MR do and why?

Changes to the UI behind the feature flag multiple_approval_rules_fe that allow users to protect environments with multiple approval rules, a stronger variant. Once complete and the feature flag is rolled out, the unified approval rule creation UI will be removed.

Multiple approval rules behave much like approval rules for merge requests: a group, user, and/or access level can be separately configured to be required to approve a deployment before it is run.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Enable the feature flag
    Feature.enable(:multiple_environment_approval_rules_fe)
  2. Visit the CI/CD Settings for a prooject
  3. Protect an environment

Note this requires an EE license!

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

Edited by Andrew Fontaine

Merge request reports

Loading