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
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
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 #378446 (closed), part of !109157 (closed)