summaryrefslogtreecommitdiff
path: root/app/controllers/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-23 11:41:22 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-23 11:45:45 +0200
commit3adfee1c8724d56e051da21e18d83435e8b6ba31 (patch)
tree7a6a8cfaf71679269a1c06dd7e64e706101cfa5e /app/controllers/ci
parent127836dd541ce0ecd4976d002d97b3e9e57f4947 (diff)
downloadgitlab-ce-3adfee1c8724d56e051da21e18d83435e8b6ba31.tar.gz
Allow developer to manage builds
Diffstat (limited to 'app/controllers/ci')
-rw-r--r--app/controllers/ci/application_controller.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/ci/application_controller.rb b/app/controllers/ci/application_controller.rb
index 9be470660e6..848f2b4e314 100644
--- a/app/controllers/ci/application_controller.rb
+++ b/app/controllers/ci/application_controller.rb
@@ -8,14 +8,6 @@ module Ci
private
- def authenticate_public_page!
- unless project.public
- authenticate_user!
-
- return access_denied! unless can?(current_user, :read_project, gl_project)
- end
- end
-
def authenticate_token!
unless project.valid_token?(params[:token])
return head(403)