Update group policy to use admin_push_rules
What does this MR do and why?
- Applies the custom role ability
admin_push_rules
to group policy, so that when a user is assigned this ability they can configure push rule settings at the group level. Project level changes will be in a future MR. - Follows from !147872 (merged)
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.
Screenshots or screen recordings
How to set up and validate locally
-
Enable the
custom_ability_admin_push_rules
Feature Flag:Feature.enable(:custom_ability_admin_push_rules)
-
Log-in as an owner of a group and navigate to
Settings > Roles and Permissions
-
Create a custom role with
Admin push rules
checkbox enabled. -
Navigate to the group's
Manage > Members
and assign this custom role to a user -
Log-in as that user and navigate to the group. You should see
Settings > Repository
where you can see a section forPre-defined push rules
.
Related to #421786 (closed)
Edited by Hinam Mehra