feat: audit log and settings admin pages (PH6.3) #77
No reviewers
Labels
No labels
in-progress
in-review
needs-decision
priority: later
priority: next
priority: now
ready-for-agent
seam-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
patrick/Polaris!77
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/web-audit-settings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Admins (and planners, read-only) can now browse the audit trail and admins can edit runtime settings from the app itself, instead of neither page existing yet.
The audit page lists every recorded change - who did it, to what, when and why - and lets you filter by entity, entity id, actor and date range, with a details view showing the before/after values for a given entry. The settings page lists the app's runtime settings and lets an admin edit one in place; every save requires a short reason, which is recorded in the audit trail alongside the change itself, the same way every other change in the system already works.
Related Issues
Closes #44. Row PH6.3 in docs/12-implementation-plan.md.
Type of Change
Breaking Changes
None.
Test Plan
Tests green: backend (ruff, mypy --strict, pytest unit + integration against a real Postgres) and frontend (ng lint, ng test, ng build, i18n parity check) all pass.
Checklist
docs/updated for any behavioural change (ADR added if a prior decision was reversed)polaris.domainAdditional Context
frontend/eslint.config.jsoutside this ticket's own paths: it now excludes the generated, git-ignored API client types directory from linting, since this is the first feature to actually generate and import it.🤖 Generated with Claude Code
https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM