Skip to content

Allow protected branch creation via web and API

What does this MR do?

This MR allows users with merge permission to create branches that match any protected branches added to a repository. This is only allowed to be done via web interface and API.

API and feature specs aren't added (I added them initially but then removed) as gitlab-shell hooks don't actually run on test environment. As a result, those tests just pass regardless so I decided to remove and not add them.

What are the relevant issue numbers?

#53361 (closed)

Does this MR meet the acceptance criteria?

Closes #53361 (closed)

Edited by Kamil Trzciński

Merge request reports

Loading