gitlab-org--gitlab-foss/app/services
Timothy Andrew 6d841eaadc Authorize user before creating/updating a protected branch.
1. This is a third line of defence (first in the view, second in the
   controller).

2. Duplicate the `API::Helpers.to_boolean` method in `BaseService`. The
   other alternative is to `include API::Helpers`, but this brings with it
   a number of other methods that might cause conflicts.

3. Return a 403 if authorization fails.
2016-07-29 15:20:39 +05:30
..
auth Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
ci Add notice implementation 2016-07-18 14:59:01 +02:00
commits Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
files Merge branch 'master' into rename-repo-files 2016-07-19 11:23:08 +01:00
groups
issues Refactor spam validation to a concern that can be easily reused and improve legibility in `SpamCheckService` 2016-07-26 19:29:16 -05:00
members
merge_requests Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
milestones
notes Fix not normalized emoji paths 2016-07-14 08:51:00 +02:00
oauth2
projects Fix Project#to_param to keep invalid project suitable for use in URLs 2016-07-27 13:52:45 -03:00
protected_branches Authorize user before creating/updating a protected branch. 2016-07-29 15:20:39 +05:30
search
wiki_pages
audit_event_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
base_service.rb
compare_service.rb Remove unused argument to CompareService#execute 2016-07-08 13:53:17 +01:00
create_branch_service.rb Fix of 'Commits being passed to custom hooks are already reachable when using the UI' 2016-07-19 07:45:22 +03:00
create_commit_builds_service.rb Track a user who created a pipeline 2016-07-15 17:42:27 +02:00
create_deployment_service.rb
create_release_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_spam_log_service.rb
create_tag_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
delete_branch_service.rb Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects 2016-07-28 12:24:47 -04:00
delete_tag_service.rb Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects 2016-07-28 12:24:47 -04:00
delete_user_service.rb
destroy_group_service.rb
event_create_service.rb
git_hooks_service.rb
git_push_service.rb Fix default branch protection. 2016-07-29 15:20:39 +05:30
git_tag_push_service.rb Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects 2016-07-28 12:24:47 -04:00
gravatar_service.rb
issuable_base_service.rb Allow bulk (un)subscription from issues in issue index 2016-07-14 19:36:19 -03:00
notification_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb Use find instead Ruby to remove files due to performance reasons 2016-07-21 10:31:49 -03:00
spam_check_service.rb Refactor spam validation to a concern that can be easily reused and improve legibility in `SpamCheckService` 2016-07-26 19:29:16 -05:00
system_hooks_service.rb
system_note_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
test_hook_service.rb
todo_service.rb When Issue author assign or mention himself Todos are created 2016-07-14 10:56:44 +02:00
update_release_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
update_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00