Skip to main content

rolePermissionByNodeId

Reads a single RolePermission using its globally unique ID.

rolePermissionByNodeId(
nodeId: ID!
): RolePermission

Arguments​

rolePermissionByNodeId.nodeId ● ID! non-null scalar​

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

Type​

RolePermission object​

A per-(role, permission) grant override that takes precedence over the code-defined defaults in @inaccord/protocol. A row's absence means "use the code default"; its presence means the workspace has customized this permission for this role.