Purge log is empty when access logging is off (manual-purge/auto-purge are access-tier) #1045

Closed
opened 2026-10-28 23:37:37 +00:00 by Cordy · 2 comments
Owner

Found in the #847 docs work (2026-10-29). manual-purge and auto-purge are access-tier audit events (internal/audit/verbs.go:57-58), and the Purge log tab reads only those (web/static/index.html ~11720). With access logging off the Purge log is empty, while admin-policy.md and the UI hint tpuAudited say every manual purge appears there. Permanent deletion is a records/retention event (ISO 27001 A.8.10, A.5.33; ISO 9001 7.5.3 disposition).

Decision needed: make purge verbs admin tier (always recorded, like #842), or warn on the Purge log tab when access logging is off. Recommendation: admin tier.

Found in the #847 docs work (2026-10-29). `manual-purge` and `auto-purge` are access-tier audit events (`internal/audit/verbs.go:57-58`), and the Purge log tab reads only those (`web/static/index.html` ~11720). With access logging off the Purge log is empty, while `admin-policy.md` and the UI hint `tpuAudited` say every manual purge appears there. Permanent deletion is a records/retention event (ISO 27001 A.8.10, A.5.33; ISO 9001 7.5.3 disposition). Decision needed: make purge verbs admin tier (always recorded, like #842), or warn on the Purge log tab when access logging is off. Recommendation: admin tier.
Author
Owner

Decision (Nikola, 2026-10-30): as recommended, manual-purge and auto-purge become admin-tier verbs, so they are always recorded, like #842. The Purge log then matches what admin-policy.md and tpuAudited promise.

This goes into the sharing & access batch (#1033, #1039, #975, #929, #835).

**Decision (Nikola, 2026-10-30):** as recommended, `manual-purge` and `auto-purge` become admin-tier verbs, so they are always recorded, like #842. The Purge log then matches what `admin-policy.md` and `tpuAudited` promise. This goes into the sharing & access batch (#1033, #1039, #975, #929, #835).
Author
Owner

Shipped in v0.6.376 (PR #1052): manual-purge and per-file auto-purge are now admin-tier audit verbs, always recorded regardless of the access-logging toggle, so the Purge log is complete without access logging. auto-purge-run is unchanged. The purge hints in Deleted files and the handbook (admin-policy.md, file-browser.md, compliance-support.md) no longer say "only with access logging". Live on both dogfoods.

Shipped in **v0.6.376** (PR #1052): `manual-purge` and per-file `auto-purge` are now admin-tier audit verbs, always recorded regardless of the access-logging toggle, so the Purge log is complete without access logging. `auto-purge-run` is unchanged. The purge hints in Deleted files and the handbook (admin-policy.md, file-browser.md, compliance-support.md) no longer say "only with access logging". Live on both dogfoods.
Cordy closed this issue 2026-10-31 07:48:58 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1045
No description provided.