Skip to content

Add ability to edit allowed to push and merge section

Jacques Erasmus requested to merge 439365-allowed-to-push-and-merge-edit into master

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)
Screenshot_2024-06-10_at_13.07.14 Screenshot_2024-06-10_at_13.07.25 Screenshot_2024-06-10_at_13.07.30

How to set up and validate locally

  1. Enable edit_branch_rules feature flag
  2. Go to Settings > Repository in any project
  3. Expand branch rules
  4. Add new rule with "Add branch rule" dropdown
  5. Go to rule detail page and click on edit button in the "Allowed to push and merge" setting
  6. Drawer should open on the right with possibility to add/remove roles

Related to #439365 (closed)

Edited by Jacques Erasmus

Merge request reports