Skip to content

List all deployer rules in protected environments

What does this MR do and why?

Shows all users that are allowed to create deployments in a given protected environment. This means analyzing the rule, deciding if it is for a given group, user, or the project's members.

Then, fetch all the members of the rule, displaying their avatar and a tooltip with their username.

Screenshots or screen recordings

image

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
  5. View the protected 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.

For #378446 (closed), part of !109157 (closed)

Merge request reports

Loading