Add 'Require enforcement' checkbox to group-level MR approval rules
Problem to solve
In pursuit of the holistic solution outlined in &4367, this issue is a smaller implementation issue to iteratively move elements of project-level merge request approval rules to the group-level.
Please see &4367 for the discovery and implementation discussion.
Intended users
User experience goal
A group owner
can configure this setting - Settings Enforcement
- in the group level merge request approval settings. When viewing MR Approvals rules at a project level, an alert should be displayed when there are disabled fields.
Proposal
Checkbox for MR Approvals rules (group level)
Add the Require enforcement
checkbox to the group level MR approval settings.
When checked, this would enforce group-level MR approval settings only on projects with a custom compliance framework where Settings Enforcement is set to Regulated
.
Alert (project level)