type

AccessDecision

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

Properties

PropertyTypeDescription
Allowfunc() AccessDecisionAuthorize without a document predicate.
Denyfunc() AccessDecisionReject the operation.
Wherefunc(query.Expression) AccessDecisionRequire a predicate on the atomic store operation.
Kindfunc() AccessDecisionKindReport allow, deny, or filtered.
Filterfunc() (query.Node, bool)Return a detached predicate for a filtered decision.

How it works

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

Full signature

Methods