Skip to content

Allow users to create protected branches via CLI

What does this MR do?

This is for fixing a regression introduced by: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24969

This fix will allow users who are allowed to push to protected branches to create protected branches via CLI as well, just like before. The checks for protected branch creation won't need to run.

What are the relevant issue numbers?

#59289 (closed)

Does this MR meet the acceptance criteria?

Closes #59289 (closed)

Edited by Patrick Bajao

Merge request reports