Skip to main content

Scope

@mandaitor/sdk


@mandaitor/sdk / Scope

Interface: Scope

Defined in: packages/sdk/src/types.ts:23

Properties

actions

actions: string[]

Defined in: packages/sdk/src/types.ts:25

List of action identifiers from the taxonomy, e.g. ["construction.validation.approve"]


conditions?

optional conditions: Record<string, unknown>

Defined in: packages/sdk/src/types.ts:31

Optional conditions for fine-grained control


effect

effect: "ALLOW" | "DENY"

Defined in: packages/sdk/src/types.ts:29

Whether this scope allows or denies the actions


resources

resources: string[]

Defined in: packages/sdk/src/types.ts:27

Resource URI patterns, e.g. ["monco:project:proj_123/*"]