gitlab-org--gitlab-foss/spec/lib
Patrick Bajao e371520f46 Allow protected branch creation via web and API
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.
2019-03-06 12:20:27 +00:00
..
api Properly implement API pagination headers and add specs 2019-02-21 18:29:00 +01:00
backup
banzai Lowercase letters support and additional tests for YouTrack integration service 2019-02-20 19:00:55 +03:00
bitbucket
bitbucket_server Fix BitbucketServer::Client failing with Webmock 3.5.1 2019-02-16 15:30:02 -08:00
constraints Fix git clone revealing private repo's presence 2019-02-19 13:59:24 +08:00
container_registry
gitaly
gitlab Allow protected branch creation via web and API 2019-03-06 12:20:27 +00:00
google_api
json_web_token
mattermost
microsoft_teams
object_storage Fix misspellings in app/spec executable lines 2019-02-27 22:41:34 +09:00
omni_auth/strategies
quality
rspec_flaky
safe_zip
sentry Catch exception in calculate reactive cache 2019-02-21 11:19:51 +00:00
serializers
system_check
after_commit_queue_spec.rb
event_filter_spec.rb
expand_variables_spec.rb
extracts_path_spec.rb
feature_spec.rb Allow setting feature flags per GitLab group 2019-02-19 14:57:03 +08:00
file_size_validator_spec.rb
forever_spec.rb
gitlab_spec.rb Creates a function to check if repo is EE 2019-03-04 08:20:37 +00:00
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb