mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 10:26:26 +01:00
Stage the allow disposition in a request-scoped context and flush it into the first transaction that performs a domain mutation, so an authorized mutation and its audit record commit or roll back together. Denials and read-only allows stay immediately durable, and a mutation that runs outside any transaction is recorded and logged as uncoupled. Co-Authored-By: Paperclip <noreply@paperclip.ing>