Add ability to edit allowed to push and merge section
What does this MR do and why?
Adds the ability to edit allowed to push and merge section on the Branch rules page.
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
Before | After (drawer closed) | After (drawer open) |
---|---|---|
How to set up and validate locally
- Enable edit_branch_rules feature flag
- Go to Settings > Repository in any project
- Expand branch rules
- Add new rule with "Add branch rule" dropdown
- Go to rule detail page and click on edit button in the "Allowed to push and merge" setting
- Drawer should open on the right with possibility to add/remove roles
Related to #439365 (closed)
Edited by Jacques Erasmus