INPUT_OBJECT

AuthRoleRequirement

WIP:

link GraphQL Schema definition

1input AuthRoleRequirement {
7
2# List of one or more permissions required for the operation
3# Currently that's a list of functional permissions, but potentially can be
4# expanded to
5# some sort of policy descriptors
6permissions: [AuthPermissionType!]!
11
8# The type of object that object-level access controls should apply to.
9# Must be set if allowOrgless is true and skipObjectAuthorization is false.
10resourceType: AuthResourceType!
17
12# The name of the field parameter containing id(s) to query for.
13# Object-level authorization will lookup roles set to this resource and assigned
14# to
15# an authorization group in the request authorization context
16resourceIdFieldPath: String!
24
18# The name of the parent field for this resource. It also contains id(s) to query
19# for.
20# Object-level authorization will lookup roles set to this parent resource and
21# assigned to
22# an authorization group in the request authorization context
23parentPath: String
27
25# The type of parent object that object-level access controls should apply to.
26parentType: AuthResourceType
28}

link Required by

This element is not required by anyone