Skip to content

SystemAuthContext

Describes an execution that runs with system authority and no associated principal.

The context carries Runtime authority within its Workspace, so Role checks and operation Grants pass. Events published during the execution carry no originating principal, and assigning a Role to 'current' is rejected because there is no principal to assign it to.

readonly tag: string

A short label naming what started this execution, such as a script or subsystem, for tracing.


readonly type: "system"

Discriminates this context from the other members of AlpyneAuthContext.


readonly workspaceId: string

The Workspace every operation in this execution is scoped to.