fn audit(
state: &AppState,
slug: &str,
uid: &str,
profile: &str,
ok: bool,
error: Option<&str>,
note: &str,
)Expand description
One Audit row: the actor is the container agent. Holds the grant, tier, reason, seconds and outcome; never a key, a token or any part of a credential.