Skip to main content
objectCustomRole

Fields

id
ID!
name
String!
description
String
permissionsPreset
String!

The built-in role whose permissions this custom role inherits (e.g. role_support, role_viewer). Determines what actions users with this role can perform.

scopeDefinitions

The thread-visibility scope rules configured for this role. An empty array means no restrictions — users can see all threads.

createdAt
createdBy
updatedAt
updatedBy
priority
Int!

Decides which role wins when a user is given more than one through SSO or directory sync. Higher wins. See Role.priority for the built-in values.