gitlab-org--gitlab-foss/changelogs/unreleased/53361-fresh-protected-branches.yml
Patrick Bajao e371520f46 Allow protected branch creation via web and API
This commit includes changes to add `UserAccess#can_create_branch?`
which will check whether the user is allowed to create a branch even
if it matches a protected branch.

This is used in `Gitlab::Checks::BranchCheck` when the branch name
matches a protected branch.

A `push_to_create_protected_branch` ability in `ProjectPolicy` has been
added to allow Developers and above to create protected branches.
2019-03-06 12:20:27 +00:00

5 lines
141 B
YAML

---
title: Allow creation of branches that match a wildcard protection, except directly through git
merge_request: 24969
author:
type: added