summaryrefslogtreecommitdiff
path: root/app/graphql/types/merge_requests/participant_type.rb
blob: 86d627097b22d18bf27c62ca7ae72394d08b93f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Types
  module MergeRequests
    class ParticipantType < ::Types::UserType
      graphql_name 'MergeRequestParticipant'
      description 'A user participating in a merge request.'

      include ::Types::MergeRequests::InteractsWithMergeRequest

      authorize :read_user
    end
  end
end