Set an approval rule to deployment approval
What does this MR do and why?
This MR adds the Internal logic for Multi Access Levels in Deployment Approval.
- Extend
Deployments::ApprovalService
(The SSOT service that users can approve/reject deployment) to setProtectedEnvironments::ApprovalRule
toDeployments::Approval
. - Delete both
ProtectedEnvironments::DeployAccessLevel
andProtectedEnvironments::ApprovalRule
when an assigned group/user has been removed from the protected environment. - Add
deployment_approval_rules
feature flag to shut out the new logic until all MRs have been merged.
These internal logic will be used in an upcoming MR. Please see PoC MRs - PoC 1, PoC 2 for the overview.
A few notes:
- Previous MR is !82800 (merged).
- You can find more feature concept of Protected Environment in the documentation.
Screenshots or screen recordings
N/A (See the manual QA result of PoC)
How to set up and validate locally
N/A (See the manual QA result of PoC)
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 Shinya Maeda