Skip to main content

WorkspaceAccountRole

The member-to-role junction (RBAC). Multiple live rows for one member mean multiple roles, and effective permissions are the union across them. Soft-deleting a row (via revokeRole) makes the assignment inert.

type WorkspaceAccountRole implements Node {
nodeId: ID!
id: String!
workspaceAccountId: String!
roleId: String!
assignedBy: String
assignedAt: Datetime!
version: Int!
workspaceId: String
deletedAt: Datetime
updatedAt: Datetime!
createdAt: Datetime!
}

Fields

WorkspaceAccountRole.nodeId ● ID! non-null scalar

A globally unique identifier. Can be used in various places throughout the system to identify this single value.

WorkspaceAccountRole.id ● String! non-null scalar

WorkspaceAccountRole.workspaceAccountId ● String! non-null scalar

WorkspaceAccountRole.roleId ● String! non-null scalar

WorkspaceAccountRole.assignedBy ● String scalar

The member who assigned this role.

WorkspaceAccountRole.assignedAt ● Datetime! non-null scalar

When the role was assigned to the member.

WorkspaceAccountRole.version ● Int! non-null scalar

WorkspaceAccountRole.workspaceId ● String scalar

WorkspaceAccountRole.deletedAt ● Datetime scalar

WorkspaceAccountRole.updatedAt ● Datetime! non-null scalar

WorkspaceAccountRole.createdAt ● Datetime! non-null scalar

Interfaces

Node interface

An object with a globally unique ID.

Returned By

workspaceAccountRole query ● workspaceAccountRoleByNodeId query ● workspaceAccountRoles query

Member Of

CreateWorkspaceAccountRolePayload object ● DeleteWorkspaceAccountRolePayload object ● UpdateWorkspaceAccountRolePayload object ● WorkspaceAccountRolesConnection object ● WorkspaceAccountRolesEdge object