• 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
..
administration Loading commit data...
api Loading commit data...
articles Loading commit data...
ci Loading commit data...
container_registry Loading commit data...
customization Loading commit data...
development Loading commit data...
downgrade_ee_to_ce Loading commit data...
gitlab-basics Loading commit data...
hooks Loading commit data...
img Loading commit data...
incoming_email Loading commit data...
install Loading commit data...
integration Loading commit data...
intro Loading commit data...
legal Loading commit data...
logs Loading commit data...
markdown Loading commit data...
migrate_ci_to_ce Loading commit data...
monitoring Loading commit data...
operations Loading commit data...
pages Loading commit data...
permissions Loading commit data...
policy Loading commit data...
profile Loading commit data...
project_services Loading commit data...
public_access Loading commit data...
raketasks Loading commit data...
security Loading commit data...
ssh Loading commit data...
system_hooks Loading commit data...
topics Loading commit data...
university Loading commit data...
update Loading commit data...
user Loading commit data...
web_hooks Loading commit data...
workflow Loading commit data...
README.md Loading commit data...