Skip to main content

AvailableRole

A workspace role together with its full permission grant matrix, as shown in the role-editor grid.

type AvailableRole {
id: String
name: String
isSystem: Boolean
permissions: [AvailableRolePermission]
}

Fields​

AvailableRole.id ● String scalar​

Role id.

AvailableRole.name ● String scalar​

Human-readable role name.

AvailableRole.isSystem ● Boolean scalar​

True for built-in system roles, false for custom roles.

AvailableRole.permissions ● [AvailableRolePermission] list object​

This role's per-permission grants.

Returned By​

availableRoles query