• Patrick Bajao's avatar
    Allow protected branch creation via web and API · e371520f
    Patrick Bajao authored
    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.
    e371520f
Name
Last commit
Last update
..
builds Loading commit data...
clusters Loading commit data...
deploy_tokens Loading commit data...
gpg_signed_commits Loading commit data...
img Loading commit data...
import Loading commit data...
integrations Loading commit data...
issues Loading commit data...
members Loading commit data...
merge_requests Loading commit data...
milestones Loading commit data...
operations Loading commit data...
pages Loading commit data...
pipelines Loading commit data...
releases Loading commit data...
repository Loading commit data...
settings Loading commit data...
web_ide Loading commit data...
wiki Loading commit data...
badges.md Loading commit data...
bulk_editing.md Loading commit data...
container_registry.md Loading commit data...
cycle_analytics.md Loading commit data...
description_templates.md Loading commit data...
git_attributes.md Loading commit data...
highlighting.md Loading commit data...
index.md Loading commit data...
issue_board.md Loading commit data...
labels.md Loading commit data...
merge_requests.md Loading commit data...
new_ci_build_permissions_model.md Loading commit data...
protected_branches.md Loading commit data...
protected_tags.md Loading commit data...
quick_actions.md Loading commit data...
releases.md Loading commit data...
slash_commands.md Loading commit data...