• 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
..
abuse_report_mailer Loading commit data...
abuse_reports Loading commit data...
admin Loading commit data...
award_emoji Loading commit data...
ci Loading commit data...
clusters Loading commit data...
dashboard Loading commit data...
devise Loading commit data...
discussions Loading commit data...
doorkeeper Loading commit data...
email_rejection_mailer Loading commit data...
errors Loading commit data...
events Loading commit data...
explore Loading commit data...
groups Loading commit data...
help Loading commit data...
ide Loading commit data...
import Loading commit data...
instance_statistics Loading commit data...
invites Loading commit data...
issues Loading commit data...
kaminari/gitlab Loading commit data...
layouts Loading commit data...
notify Loading commit data...
peek Loading commit data...
profiles Loading commit data...
projects Loading commit data...
repository_check_mailer Loading commit data...
search Loading commit data...
sent_notifications Loading commit data...
shared Loading commit data...
sherlock Loading commit data...
snippets Loading commit data...
u2f Loading commit data...
users Loading commit data...