summaryrefslogtreecommitdiff
path: root/app/graphql/types/group_invitation_type.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-29 12:52:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-29 12:52:24 +0000
commitb56d907a1d9065c3df354007fa00daf30626a478 (patch)
tree0868c35228207eece8e012bdc47a8829556d7758 /app/graphql/types/group_invitation_type.rb
parentaee004311cd93409176ea4f6e2bdcd0601487e4b (diff)
downloadgitlab-ce-b56d907a1d9065c3df354007fa00daf30626a478.tar.gz
Add latest changes from gitlab-org/security/gitlab@14-3-stable-ee
Diffstat (limited to 'app/graphql/types/group_invitation_type.rb')
-rw-r--r--app/graphql/types/group_invitation_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/group_invitation_type.rb b/app/graphql/types/group_invitation_type.rb
index 06a997bbc14..9410253553c 100644
--- a/app/graphql/types/group_invitation_type.rb
+++ b/app/graphql/types/group_invitation_type.rb
@@ -3,7 +3,7 @@
module Types
class GroupInvitationType < BaseObject
expose_permissions Types::PermissionTypes::Group
- authorize :read_group
+ authorize :admin_group
implements InvitationInterface