Skip to main content

roleByNodeId

Reads a single Role using its globally unique ID.

roleByNodeId(
nodeId: ID!
): Role

Arguments

roleByNodeId.nodeId ● ID! non-null scalar

The globally unique ID to be used in selecting a single Role.

Type

Role object

A workspace-defined RBAC role. Every role — seeded preset or custom — lives here; a member's effective permissions are the union of the roles assigned to them through workspace_account_role.