summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 22:27:34 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 22:27:34 +0000
commitaf4486c9f7697f5186bcef08000ca954793bc31b (patch)
tree8a97f10b4312c42fe226ab2001d5f4b14215245b /app/controllers/groups
parent03979b4aaf060cae40934b2aade0bbe8a210e311 (diff)
downloadgitlab-ce-af4486c9f7697f5186bcef08000ca954793bc31b.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-9-stable-ee
Diffstat (limited to 'app/controllers/groups')
-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