diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-06 12:12:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-06 12:12:47 +0300 |
commit | 08608c8e9e9821858dd2f452a3c9ebfb945ab69f (patch) | |
tree | c3450c88bef3c68d70c4f814858913aafce5a59f /lib/api/helpers.rb | |
parent | 50b6f6a78828c6a455887b1ba2bdc049b1b1eff2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 4 |
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 |