Skip to content
Snippets Groups Projects

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading