e371520f46
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. |
||
---|---|---|
.. | ||
api | ||
backup | ||
banzai | ||
bitbucket | ||
bitbucket_server | ||
constraints | ||
container_registry | ||
gitaly | ||
gitlab | ||
google_api | ||
json_web_token | ||
mattermost | ||
microsoft_teams | ||
object_storage | ||
omni_auth/strategies | ||
quality | ||
rspec_flaky | ||
safe_zip | ||
sentry | ||
serializers | ||
system_check | ||
after_commit_queue_spec.rb | ||
event_filter_spec.rb | ||
expand_variables_spec.rb | ||
extracts_path_spec.rb | ||
feature_spec.rb | ||
file_size_validator_spec.rb | ||
forever_spec.rb | ||
gitlab_spec.rb | ||
milestone_array_spec.rb | ||
system_check_spec.rb | ||
uploaded_file_spec.rb |