gitlab-org--gitlab-foss/spec/services
Nick Thomas 3ed80a0176 Enforce the fork_project permission in Projects::CreateService
Projects::ForkService delegates to this service almost entirely, but needed
one small change so it would propagate create errors correctly.

CreateService#execute needs significant refactoring; it is now right at the
complexity limit set by Rubocop. I avoided doing so in this commit to keep the
diff as small as possible.

Several tests depend on the insecure behaviour of ForkService, so fi them up at
the same time.
2016-09-27 13:17:56 +01:00
..
auth
boards
ci
files
groups
issuable
issues
members
merge_requests Add a spec for merge request metric caching while refreshing a merge request from a forked project. 2016-09-21 02:15:02 +05:30
milestones
notes Ensure we have a user before checking for their permission in Notes::SlashCommandsService 2016-09-20 13:58:14 +02:00
projects Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
protected_branches Add missing spec for ProtectedBranches::CreateService 2016-09-18 13:44:34 -07:00
search
slash_commands
create_deployment_service_spec.rb Fix CreateDeploymentService spec. 2016-09-21 09:17:00 +05:30
create_release_service_spec.rb
create_snippet_service_spec.rb
create_tag_service_spec.rb
delete_tag_service_spec.rb
delete_user_service_spec.rb
destroy_group_service_spec.rb
event_create_service_spec.rb
git_hooks_service_spec.rb
git_push_service_spec.rb Fix build. 2016-09-21 02:59:17 +05:30
git_tag_push_service_spec.rb
import_export_clean_up_service_spec.rb
notification_service_spec.rb Reload issues in spec to ensure label<->issue mapping properly loaded 2016-09-20 19:40:37 -07:00
repair_ldap_blocked_user_service_spec.rb
repository_archive_clean_up_service_spec.rb
search_service_spec.rb
system_hooks_service_spec.rb
system_note_service_spec.rb Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
test_hook_service_spec.rb
todo_service_spec.rb
update_release_service_spec.rb
update_snippet_service_spec.rb