Skip to content

Allow only top level groups for ApprovalGroupRules

What does this MR do and why?

ApprovalGroupRules should only be available for top-level groups. This MR adds that validation to the ApprovalGroupRules model.

The Group Approval Rules feature is still in development behind the approval_group_rules feature flag.

Related to: #441436

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Gavin Hinfey

Merge request reports