Interface: AuthzDryRunResponse
@kortexya/reasoninglayer / AuthzDryRunResponse
Interface: AuthzDryRunResponse
Section titled “Interface: AuthzDryRunResponse”Defined in: src/types/authz.ts:100
The dry-run outcome.
Remarks
Section titled “Remarks”Returned by POST /api/v1/authz/dry-run. sortAncestorsUsed is the ancestor
list the decision actually used — the client-supplied list, or the one resolved
from the sort lattice when the request omitted sortAncestors.
Example
Section titled “Example”const response: AuthzDryRunResponse = { effect: 'allow', sortAncestorsUsed: ['record', 'entity'],};Properties
Section titled “Properties”effect
Section titled “effect”effect:
AuthzEffect
Defined in: src/types/authz.ts:102
What every enforcement locus would decide for this access.
sortAncestorsUsed
Section titled “sortAncestorsUsed”sortAncestorsUsed:
string[]
Defined in: src/types/authz.ts:107
The ancestor list the decision actually used (client-supplied, or
lattice-resolved when the request omitted sortAncestors).