• 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
..
account Loading commit data...
admin_area Loading commit data...
discussions Loading commit data...
gitlab_com Loading commit data...
group Loading commit data...
img Loading commit data...
instance_statistics Loading commit data...
profile Loading commit data...
project Loading commit data...
search Loading commit data...
abuse_reports.md Loading commit data...
award_emojis.md Loading commit data...
feature_highlight.md Loading commit data...
index.md Loading commit data...
markdown.md Loading commit data...
permissions.md Loading commit data...
reserved_names.md Loading commit data...
snippets.md Loading commit data...