mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Add actorLabel(user) — resolves the authenticated user to a readable name (name → username → email → id) — and use it for the performed_by audit stamp on every warehouse action, so the activity log shows a person, not a UUID. The freight DB has no users table to join, so the name is stamped at write time. approve-delivery keeps the raw user id (it is an id argument, not the audit label). Existing rows keep their prior value; this applies going forward. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>