summaryrefslogtreecommitdiff
path: root/app/controllers/groups/variables_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups/variables_controller.rb')
-rw-r--r--app/controllers/groups/variables_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups/variables_controller.rb b/app/controllers/groups/variables_controller.rb
index 51670325ce3..a2289b540ec 100644
--- a/app/controllers/groups/variables_controller.rb
+++ b/app/controllers/groups/variables_controller.rb
@@ -2,7 +2,7 @@
module Groups
class VariablesController < Groups::ApplicationController
- before_action :authorize_admin_build!
+ before_action :authorize_admin_group!
skip_cross_project_access_check :show, :update