Skip to content

Disable "Remove source branch" in MR Widget for users who can't remove, and re-add checkbox to MR form

What does this MR do?

This MR does three things:

  1. Re-adds the "Remove source branch" checkbox to the Create/Edit MR page
  2. Ensures the "Remove source branch" checkbox in the MR widget is disabled for users who do not have rights to delete the source branch
  3. Makes the "Remove source branch" checkbox in the MR Widget dependent on initial MR form settings, rather than defaulting to removing.

Closes #32447 (closed)

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/32907

Edited by Luke Bennett

Merge request reports

Loading