AuditLogPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Displays a paginated, filterable table of audit log entries scoped to the current organization. Provides controls for filtering by date range, event type, and user, and triggers CSV/JSON export. Accessible only to org admins and authorized global admins.
audit-log-page
Sources & reasoning
Line 259 states an explicit hard requirement: every Global Admin support-access session must be logged in the org's audit trail. admin-security is always-on (line 241), fixing the target release at MVP. GDPR obligations for health data and encrypted assignments reinforce the critical priority; no later phase can satisfy the compliance requirement that audit trail coverage begins from day one.
-
docs/source/likeperson.md · line 259Every support-access session is logged in the org's audit trail.
-
docs/source/likeperson.md · line 239-241Always-on core. A small set of modules is non-toggleable because the operational products are meaningless without them... Admin Web Portal: `admin-dashboard`, `admin-user-management`, `admin-organization`, `admin-security`.
Responsibilities
- Render chronological audit log entries in a paginated table with sortable columns
- Provide filter controls for date range, event type, and user
- Trigger and track export requests for compliance downloads
- Display entry details including actor, action, timestamp, and session context
- Enforce access gating so only authorized roles can view the page
Interfaces
loadEntries(filters: AuditLogFilters, page: number): Promise<PagedAuditLog>
exportLog(filters: AuditLogFilters, format: 'csv' | 'json'): Promise<void>
applyFilters(filters: AuditLogFilters): void