Skip to main content

objectPermissionGrant Query

Returns the specified ObjectPermissionGrant object.

Access is permitted when any of the following condition(s) are met: 1. Always allowed.

Input fields#

ArgumentTypeDescription
idID!The ID of the ObjectPermissionGrant object.

Return fields (ObjectPermissionGrant)#

id (ID!)#

The ID of the object.

user (User!)#

The User for which the Permission is granted.

obj (UUID!)#

A reference to the object for which the Permission is granted.

permission (Permission!)#

The Permission being granted.

grantedByRole (Role)#

The Role through which the Permission is granted, if applicable.

allowUpdate (Boolean!)#

Specifies whether the signed-in User can update the ObjectPermissionGrant.

allowRemove (Boolean!)#

Specifies whether the signed-in User can remove the ObjectPermissionGrant.