type

AccessDecision

An allow, deny, or atomic document-filter decision.

Source ridu.go:17

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