Skip to content

Add possibility to change allowed to merge roles

Nataliia Radina requested to merge 438968-allowed-to-merge-drawer-part-3 into master

What does this MR do and why?

Screen_Recording_2024-05-27_at_23.43.51

Add possibility to change allowed to merge roles in the branch rules section of repositorry settings. Earlier we already added possibility to change groups and users. This MR is about roles.

Changelog: changed EE: true

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

Screen_Recording_2024-05-27_at_23.43.51

How to set up and validate locally

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

  1. Enable edit_branch_rules FF
  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 merge" setting
  6. Drawer should open on the right with possibility to add/remove roles

Related to #438968 (closed)

Edited by Nataliia Radina

Merge request reports