objectPermissionGrants Query
Returns a Relay Connection to a collection of ObjectPermissionGrant objects.
Access is permitted when any of the following condition(s) are met: 1. Always allowed.
Input fields
Argument | Type | Description |
---|---|---|
before | String | Specifies a cursor for use in combination with last to implement backward pagination. |
after | String | Specifies a cursor for use in combination with first to implement forward pagination. |
first | Int | A non-negative integer that specifies to return at most first edges after the after cursor. |
last | Int | A non-negative integer that specifies to return at most last edges before the before cursor. |
offset | Int | |
user | ID | Filter for objects where user matches the specified ID. |
obj | UUID | Filter for objects where obj matches the specified value. |
permission | ID | Filter for objects where permission matches the specified ID. |
grantedByRole | ID | Filter for objects where grantedByRole matches the specified ID. |
orderBy | ObjectPermissionGrantOrder | DEPRECATED. Prefer using sort_by instead as it allows ordering by many fields. |
sortBy | [ObjectPermissionGrantOrder] | Allows specifying many field and direction pairs to sort results by. |
Return fields (ObjectPermissionGrantConnection!)
edges ([ObjectPermissionGrantEdge]!)
List of edges containing the nodes in this connection.
nodes ([ObjectPermissionGrant]!)
List of nodes in this connection.
pageInfo (PageInfo!)
Pagination data for this connection.
totalCount (Int!)
Total count of nodes available.