Files
cannamanage/cannamanage-frontend/src/data/navigations.ts
T
Patrick Plate 05933a08ca
Deploy to Production / test (push) Has been cancelled
Deploy to Production / deploy (push) Has been cancelled
feat(sprint-6): Phase 4 — Immutable audit log
- V8 migration: audit_events table (JSONB metadata, immutable by design)
- AuditEvent entity + AuditEventType enum (18 event types)
- AuditService: log events, paginated query, PDF export
- AuditController: GET /api/v1/audit (paginated, filtered), GET export
- AuditEventRepository with JPQL filtered queries
- Frontend: /audit-log page (read-only, filterable, timezone-aware)
- PDF export button for Behörde inspections
- Sidebar: 'Protokoll' under new Compliance section
- PdfReportGenerator: generateAuditReport method added
- 10-year retention, REVOKE DELETE documented
- Full i18n (de/en) with 18 event type translations
2026-06-12 22:40:40 +02:00

50 lines
917 B
TypeScript

import type { NavigationType } from "@/types"
export const navigationsData: NavigationType[] = [
{
title: "Main",
items: [
{
title: "Dashboard",
href: "/dashboard",
iconName: "LayoutDashboard",
},
{
title: "Mitglieder",
href: "/members",
iconName: "Users",
},
{
title: "Ausgabe",
href: "/distributions",
iconName: "Leaf",
},
{
title: "Lager",
href: "/stock",
iconName: "Package",
},
{
title: "Berichte",
href: "/reports",
iconName: "FileText",
},
{
title: "Personal",
href: "/settings/staff",
iconName: "UserCog",
},
],
},
{
title: "Compliance",
items: [
{
title: "Protokoll",
href: "/audit-log",
iconName: "ScrollText",
},
],
},
]