moo.sdk.audit
Action audit log helpers.
record_action() is the single write point for the append-only
AuditLog. Core paths (create, recycle,
sanction) call it; it resolves the actor from the current account (G) and skips
anything with no human actor, so bootstrap and system activity never floods the
log. query_audit() is the staff-only read side.
Functions
|
Return recent audit rows, most recent first (staff-only at the verb layer). |
|
Append one consequential action to the audit log. |