summaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent03979b4aaf060cae40934b2aade0bbe8a210e311 (diff)
downloadgitlab-ce-af4486c9f7697f5186bcef08000ca954793bc31b.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-9-stable-ee
Diffstat (limited to 'lib')
-rw-r--r--lib/api/group_variables.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/group_variables.rb b/lib/api/group_variables.rb
index 0c40db02eb5..09744fbeda2 100644
--- a/lib/api/group_variables.rb
+++ b/lib/api/group_variables.rb
@@ -5,8 +5,7 @@ module API
include PaginationParams
before { authenticate! }
- before { authorize! :admin_build, user_group }
-
+ before { authorize! :admin_group, user_group }
feature_category :continuous_integration
params do