v0.7.0 — Admin Center
What's New in v0.7.0
Admin Center — 9-page operations suite
A new Admin Center section (admin role only) is now available in the sidebar with 9 fully functional pages:
| Page | Description |
|---|---|
| Database Management | 4-tab interface — overview, backup/restore, table browser, audit log |
| Activity Log | Paginated audit trail of every create/update/delete/finalize across the app |
| User Activity | Per-user view combining auth events and app actions side-by-side |
| System Health | 6 live metric cards (DB size, integrity, backup, users, documents) — auto-refreshes every 30s |
| Security Center | Telemetry strip + 14-day trend chart (recharts) + auth event log + locked accounts |
| Roles & Permissions | Read-only permission matrix derived from live PERMISSIONS constant + user assignments |
| Automation Center | Navigation hub linking all admin pages + background task history |
| Operations Center | System metrics + full incident log/resolve workflow |
| System Agent | Enable/disable background agent, interval selector, 4 manual task buttons (integrity check, backup, purge logs, vacuum) |
Activity Logging
Every create, update, delete, finalize, and status-change on invoices, purchase orders, and entries is now automatically recorded in the activity_log table. No action required — logs populate as you work.
New DB Migrations (28–31)
Applied automatically on first launch:
activity_log— full audit trail tablesystem_agent_settings— agent configuration (pre-seeded)automation_tasks— background task historyincidents— operational incident tracking
Upgrade Notes
- Requires a full app restart after update to apply migrations 28–31
- All new pages are admin-only (gated by
access_settingspermission) - No changes to existing invoice/PO/entry workflows