Add possibility to change allowed to merge roles
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.
- Enable edit_branch_rules FF
- 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 merge" setting
- Drawer should open on the right with possibility to add/remove roles
Related to #438968 (closed)
Edited by Nataliia Radina