feat: mobile-api records admin writes and sensitive reads as audit events

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-11-30 16:10:14 +08:00
1 parent d715073ab2
commit 1523dc566b
12 files changed
+596 -10

No files matched your search

@@ -31,7 +31,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
## 3. mobile-api
- [ ] 3.1 Recording in `AppAccessAspect`, with `Audited` and `AuditChanges` (design decisions 3, 4 and 6).
- [x] 3.1 Recording in `AppAccessAspect`, with `Audited` and `AuditChanges` (design decisions 3, 4 and 6).
- Add annotations on the lead export, the event-lead export, the email detail (sensitive) and event-lead `match` (skip).
- Tests first:
- a write records every field: actor, module, action, method, template, target, outcome and IP;