phase-8: polish, global search, audit log, packaging, and demo docs
This commit is contained in:
@@ -21,6 +21,7 @@ import { DashboardPage } from "@/pages/DashboardPage";
|
||||
import { NotificationsPage } from "@/pages/NotificationsPage";
|
||||
import { ReportsPage } from "@/pages/ReportsPage";
|
||||
import { ReportDetailPage } from "@/pages/ReportDetailPage";
|
||||
import { AuditLogsPage } from "@/pages/AuditLogsPage";
|
||||
import { ToastProvider } from "@/components/ToastProvider";
|
||||
import { useAuthStore } from "@/hooks/useAuth";
|
||||
import { can, type Capability } from "@/lib/permissions";
|
||||
@@ -110,6 +111,14 @@ function AppRoutes() {
|
||||
</RoleGuard>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/audit-logs"
|
||||
element={
|
||||
<RoleGuard capability="manage_admin">
|
||||
<AuditLogsPage />
|
||||
</RoleGuard>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/settings"
|
||||
element={
|
||||
|
||||
Reference in New Issue
Block a user