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

users_search_with_mr_permissions.graphql « queries « graphql_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2bd016feb190aa85ba66d50a2d11978556dd79a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#import "../fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query projectUsersSearchWithMRPermissions(
  $search: String!
  $fullPath: ID!
  $mergeRequestId: MergeRequestID!
) {
  workspace: project(fullPath: $fullPath) {
    id
    users: projectMembers(search: $search, relations: [DIRECT, INHERITED, INVITED_GROUPS]) {
      nodes {
        id
        mergeRequestInteraction(id: $mergeRequestId) {
          canMerge
        }
        user {
          ...User
          ...UserAvailability
        }
      }
    }
  }
}