Expand description
Where a compiled policy comes from: a snapshot of the authz database.
The trait is deliberately thin — one method returning a Db value — so
every surface can supply the snapshot it already holds: the transactor
reads its own DbState, a peer server reads the database value its
connection keeps in sync, and tests hand over a value they built in
memory. Nothing here fetches over the network on the request path; a
snapshot is a cheap clone of an immutable value.
Structs§
- Memory
Policy Source - A source over a database value held in memory: the embedded case, and what
tests and
corium authz check --policyuse.
Enums§
- Source
Error - Failure to obtain a policy snapshot.
Constants§
- DEFAULT_
POLL_ INTERVAL - How long a source with no change notification waits between polls.
Traits§
- Policy
Source - Supplies snapshots of the authorization database.