Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-06 12:12:47 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-06 12:12:47 +0300
commit08608c8e9e9821858dd2f452a3c9ebfb945ab69f (patch)
treec3450c88bef3c68d70c4f814858913aafce5a59f /lib/api/helpers.rb
parent50b6f6a78828c6a455887b1ba2bdc049b1b1eff2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 7c57666b843..f5dcbc07704 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -378,6 +378,10 @@ module API
authorize! :admin_group, user_group
end
+ def authorize_admin_member_role!
+ authorize! :admin_member_role, user_group
+ end
+
def authorize_read_builds!
authorize! :read_build, user_project
end