feat(audit): record billing + contracts mutations in the audit log (PMS-117) #82
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-117-audit-hooks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up: instrument billing + contracts CRUD with the in-tx audit_write pattern (to_jsonb before/after + AuditCtx). Covers invoices/payments/tax-rates/payment-gateways and contracts/items/rate-cards. Secrets stripped (config_encrypted, gateway_response). tests/audit_hooks.rs 3/3; billing 2/2 + contracts 6/6 still green. clippy -D clean.