Module audit
Expand description
Audit: who asked for a signal, cancel, terminate or reset.
The API that takes a request names its requester (as_requester);
the record the request writes carries it as by (see
fusee_core::record::Record), and the run’s journal shows it. The
HTTP API names a token’s scope, a namespace, or a proxy’s identity
header; the CLI names its user. Requests made in code name nobody,
and their records carry no by field at all.
Functions§
- as_
requester - Runs
fwithbyas the requester of the signals, cancellations, terminations and resets it asks of an engine. - current
- The requester of the current task, if one was named.