diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-29 12:52:24 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-29 12:52:24 +0000 |
commit | b56d907a1d9065c3df354007fa00daf30626a478 (patch) | |
tree | 0868c35228207eece8e012bdc47a8829556d7758 /app/graphql | |
parent | aee004311cd93409176ea4f6e2bdcd0601487e4b (diff) | |
download | gitlab-ce-b56d907a1d9065c3df354007fa00daf30626a478.tar.gz |
Add latest changes from gitlab-org/security/gitlab@14-3-stable-ee
Diffstat (limited to 'app/graphql')
-rw-r--r-- | app/graphql/types/group_invitation_type.rb | 2 | ||||
-rw-r--r-- | app/graphql/types/project_invitation_type.rb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/app/graphql/types/project_invitation_type.rb b/app/graphql/types/project_invitation_type.rb index 507dc2d59c3..b76f05e289f 100644 --- a/app/graphql/types/project_invitation_type.rb +++ b/app/graphql/types/project_invitation_type.rb @@ -9,7 +9,7 @@ module Types implements InvitationInterface - authorize :read_project + authorize :admin_project field :project, Types::ProjectType, null: true, description: 'Project ID for the project of the invitation.' |