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
16
12# If resourceType in the schema is dynamic, instead of resourceType specify the
13# path to the
14# field in the input that specifies the resource type.
15resourceTypePath: String
22
17# The name of the field parameter containing id(s) to query for.
18# Object-level authorization will lookup roles set to this resource and assigned
19# to
20# an authorization group in the request authorization context
21resourceIdFieldPath: String!
29
23# The name of the parent field for this resource. It also contains id(s) to query
24# for.
25# Object-level authorization will lookup roles set to this parent resource and
26# assigned to
27# an authorization group in the request authorization context
28parentPath: String
32
30# The type of parent object that object-level access controls should apply to.
31parentType: AuthResourceType
33}

link Required by

This element is not required by anyone