summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 19:48:48 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 19:48:48 +0300
commitb3ef63a0a547610ba8ac6435674eabc5a2130c3d (patch)
treeb90c2d38c8ea93941fd0067e89a0e03f60b00c9c /app/controllers/application_controller.rb
parentcf8b465cb96f5aa6e53fec60c0d6e62ad1ccbc5e (diff)
downloadgitlab-ce-b3ef63a0a547610ba8ac6435674eabc5a2130c3d.tar.gz
Migrate global project taks. Removed more teams related functionality
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index fda05feefc0..e84220c1e57 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -95,14 +95,6 @@ class ApplicationController < ActionController::Base
return access_denied! unless can?(current_user, :create_team, nil)
end
- def authorize_manage_user_team!
- return access_denied! unless user_team.present? && can?(current_user, :manage_user_team, user_team)
- end
-
- def authorize_admin_user_team!
- return access_denied! unless user_team.present? && can?(current_user, :admin_user_team, user_team)
- end
-
def access_denied!
render "errors/access_denied", layout: "errors", status: 404
end