Skip to main content

availableRoles

The workspace's roles and their override grants, feeding the role-editor grid. Gated by accord.workspace.member.read.

availableRoles(
workspaceId: String
): [AvailableRole]

Arguments​

availableRoles.workspaceId ● String scalar​

Workspace to list roles for; defaults to the caller's workspace.

Type​

AvailableRole object​

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