Commit Graph

2 Commits

Author SHA1 Message Date
shaamilahmed bb35206fff feat: implement administrator-driven audit log purging with forced archival download
- Created find_older_than and delete_older_than database repository methods.
- Built a /auth/audit/purge POST endpoint that validates retention days (min 1 day).
- Serializes and streams matching logs as an attachment JSON download for archival before database deletion.
- Added a 'Purge Logs' button and modal interface in the administrator dashboard, automatically reloading the view after download.
2026-05-30 18:54:45 +05:00
shaamilahmed f6ea8a99d9 feat: refactor and refine authentication system with decoupled user management and admin console 2026-05-30 18:27:21 +05:00