Disable "Remove source branch" in MR Widget for users who can't remove, and re-add checkbox to MR form
requested to merge 32447-remove-source-branch-is-displayed-to-mergers-who-cannot-actually-delete-the-source-branch-from-a-forked-project into master
What does this MR do?
This MR does three things:
- Re-adds the "Remove source branch" checkbox to the Create/Edit MR page
- Ensures the "Remove source branch" checkbox in the MR widget is disabled for users who do not have rights to delete the source branch
- Makes the "Remove source branch" checkbox in the MR Widget dependent on initial MR form settings, rather than defaulting to removing.
Closes #32447 (closed)
Edited by Luke Bennett