Skip to content

PreparedACLChange

Defined in: packages/core/src/acl.ts:175

A detached ACL mutation that has not yet changed live membership.

ChangesType

readonly changes: ChangesType

Defined in: packages/core/src/acl.ts:177

Changes suitable for publication to an ACL with the same base state.

claimCommit(): PreparedCommitClaim

Defined in: packages/core/src/acl.ts:188

Claim the staged revision without changing live authorization.

All fallible single-use and stale-base checks, allocation, and provider work MUST finish before this method returns. The returned finalizer obeys PreparedCommitClaim: callers may compose several successful claims and then install them synchronously without a fail-partial state. If a later claim fails, discarding this claim MUST leave live state unchanged; a fresh staging operation must remain possible.

PreparedCommitClaim


commit(): void

Defined in: packages/core/src/acl.ts:195

Synchronous, single-use, stale-base-checked live-state commit. A normal return proves complete application. Repeated and stale calls throw before mutation; any other exception leaves state indeterminate to generic callers and requires fail-closed handling.

void