type

AccessDecision

type AccessDecision struct { kind AccessDecisionKind expression query.Expression }

An allow, deny, or filtered authorization result.

Source core/access.go:106

Allowfunc() AccessDecision
Authorize without a document predicate.
Denyfunc() AccessDecision
Reject the operation.
Wherefunc(query.Expression) AccessDecision
Require a predicate on the atomic store operation.
Kindfunc() AccessDecisionKind
Report allow, deny, or filtered.
Filterfunc() (query.Node, bool)
Return a detached predicate for a filtered decision.

AccessDecision is immutable. Construct it with Allow, Deny, or Where; filtered predicates remain attached to the same atomic store query as the operation.

Methods