AshAuthzed.Adapters.Licet (ash_authzed v0.2.0)

Copy Markdown View Source

Adapter for evaluating permissions and storing relationship tuples using an embedded Licet instance backed by Postgres / Ecto.

Options

  • :instance (required) - The atom name of the supervised Licet instance (e.g., MyApp.Licet).
  • :consistency - Snapshot consistency passed to Licet.check/5 and Licet.lookup_resources/5. Defaults to :full so permission checks immediately observe committed writes without quantization lag (pass :minimize_latency to opt into quantized caching).
  • :write_mode - Whether :create operations should use :touch (idempotent) or :create (strict). Defaults to :touch.