Skip to main content

Role Object

Represents an object role, which is just a collection of object permissions that pertain to a specific object for a specific user.

Return fields#

allowRemove (Boolean!)#

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

allowUpdate (Boolean!)#

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

description (String!)#

Description of the Role.

id (ID!)#

The ID of the object

level (Int!)#

An integer that specifies the level of privilege with respect to other Roles.

name (String!)#

The name of the Role. Must be unique within the context of the AuthObjectType.

objType (AuthObjectType!)#

The type of object that the Role is associated with.

permissions (PermissionConnection!)#

List of Permissions that the Role provides.