Developers are not allowed to create a protected branch
Summary
Developers are unable to create protected branches in the UI as outlined in the documentation here: https://docs.gitlab.com/ee/user/project/protected_branches.html#creating-a-protected-branch.
Steps to reproduce
- Have a maintainer or owner protect a wildcard branch and set
Allowed to push
toNo one
. - Developer is unable to create a protected branch that matches the wildcard.
- Developer sees red banner with
You are not allowed to create branches from this project
-
production_json.log
show a 200 response
What is the current bug behavior?
Developers are not able to create protected branches in accordance with the documentation: https://docs.gitlab.com/ee/user/project/protected_branches.html#creating-a-protected-branch.
What is the expected correct behavior?
Developers should be able to create protected branches.
Relevant logs and/or screenshots
Customer ticket: https://gitlab.zendesk.com/agent/tickets/120302 (internal use)
I was able to reproduce this on 11.10.0
Seems to be a regression since the functionality was introduced in 11.9
Edited by Nick Thomas