'use client' /** * DSMS Page (SDK Version - Zusatzmodul) * * Data Protection Management System overview with: * - DSGVO Compliance Score * - Quick access to compliance modules (SDK paths) * - 6 Module cards with status * - GDPR Rights overview */ import Link from 'next/link' interface ComplianceModule { id: string title: string description: string status: 'active' | 'pending' | 'inactive' href?: string items: { name: string status: 'complete' | 'in_progress' | 'pending' lastUpdated?: string }[] } export default function DSMSPage() { const modules: ComplianceModule[] = [ { id: 'legal-docs', title: 'Rechtliche Dokumente', description: 'AGB, Datenschutzerklaerung, Cookie-Richtlinie', status: 'active', href: '/sdk/consent-management', items: [ { name: 'AGB', status: 'complete', lastUpdated: '2024-12-01' }, { name: 'Datenschutzerklaerung', status: 'complete', lastUpdated: '2024-12-01' }, { name: 'Cookie-Richtlinie', status: 'complete', lastUpdated: '2024-12-01' }, { name: 'Impressum', status: 'complete', lastUpdated: '2024-12-01' }, ], }, { id: 'dsr', title: 'Betroffenenanfragen (DSR)', description: 'Art. 15-21 DSGVO Anfragen-Management', status: 'active', href: '/sdk/dsr', items: [ { name: 'Auskunftsprozess (Art. 15)', status: 'complete' }, { name: 'Berichtigung (Art. 16)', status: 'complete' }, { name: 'Loeschung (Art. 17)', status: 'complete' }, { name: 'Datenuebertragbarkeit (Art. 20)', status: 'complete' }, ], }, { id: 'consent', title: 'Einwilligungsverwaltung', description: 'Consent-Tracking und -Nachweis', status: 'active', href: '/sdk/consent', items: [ { name: 'Consent-Datenbank', status: 'complete' }, { name: 'Widerrufsprozess', status: 'complete' }, { name: 'Audit-Trail', status: 'complete' }, { name: 'Export-Funktion', status: 'complete' }, ], }, { id: 'tom', title: 'Technische & Organisatorische Massnahmen', description: 'Art. 32 DSGVO Sicherheitsmassnahmen', status: 'active', href: '/sdk/tom', items: [ { name: 'Verschluesselung (TLS/Ruhe)', status: 'complete' }, { name: 'Zugriffskontrolle', status: 'complete' }, { name: 'Backup & Recovery', status: 'in_progress' }, { name: 'Logging & Monitoring', status: 'complete' }, ], }, { id: 'vvt', title: 'Verarbeitungsverzeichnis', description: 'Art. 30 DSGVO Dokumentation', status: 'active', href: '/sdk/vvt', items: [ { name: 'Verarbeitungstaetigkeiten', status: 'complete' }, { name: 'Rechtsgrundlagen', status: 'complete' }, { name: 'Loeschfristen', status: 'complete' }, { name: 'Auftragsverarbeiter', status: 'complete' }, ], }, { id: 'dpia', title: 'Datenschutz-Folgenabschaetzung', description: 'Art. 35 DSGVO Risikoanalyse', status: 'active', href: '/sdk/dsfa', items: [ { name: 'KI-Verarbeitung', status: 'in_progress' }, { name: 'Profiling-Risiken', status: 'complete' }, { name: 'Automatisierte Entscheidungen', status: 'in_progress' }, ], }, ] const getStatusBadge = (status: string) => { switch (status) { case 'active': case 'complete': return Aktiv case 'in_progress': return In Arbeit case 'pending': case 'inactive': return Ausstehend default: return null } } const calculateScore = () => { let complete = 0 let total = 0 modules.forEach((m) => { m.items.forEach((item) => { total++ if (item.status === 'complete') complete++ }) }) return Math.round((complete / total) * 100) } const complianceScore = calculateScore() return (
{/* Title Card (Zusatzmodul - no StepHeader) */}

Datenschutz-Management-System (DSMS)

Zentrale Uebersicht aller Datenschutz-Massnahmen und deren Status. Verfolgen Sie den Compliance-Fortschritt und identifizieren Sie offene Aufgaben.

{/* Compliance Score */}

DSGVO-Compliance Score

Gesamtfortschritt der Datenschutz-Massnahmen

= 80 ? 'text-green-600' : complianceScore >= 50 ? 'text-yellow-600' : 'text-red-600'}`}> {complianceScore}%
Compliance
= 80 ? 'bg-green-500' : complianceScore >= 50 ? 'bg-yellow-500' : 'bg-red-500'}`} style={{ width: `${complianceScore}%` }} />
{/* Quick Actions */}
DSR bearbeiten
Anfragen verwalten
Consents
Einwilligungen pruefen
Einwilligungen
User Consents pruefen
Loeschfristen
Pruefen & durchfuehren
{/* Audit Report Quick Action */}

Audit Report erstellen

PDF-Berichte fuer Auditoren und Aufsichtsbehoerden generieren

{/* Compliance Modules */}

Compliance-Module

{modules.map((module) => (

{module.title}

{module.description}

{getStatusBadge(module.status)}
    {module.items.map((item, idx) => (
  • {item.status === 'complete' ? ( ) : item.status === 'in_progress' ? ( ) : ( )} {item.name}
    {item.lastUpdated && ( {item.lastUpdated} )}
  • ))}
{module.href && ( Verwalten )}
))}
{/* GDPR Rights Overview */}

DSGVO Betroffenenrechte (Art. 12-22)

Art. 15
Auskunftsrecht
Art. 16
Recht auf Berichtigung
Art. 17
Recht auf Loeschung
Art. 18
Recht auf Einschraenkung
Art. 19
Mitteilungspflicht
Art. 20
Datenuebertragbarkeit
Art. 21
Widerspruchsrecht
Art. 22
Automatisierte Entscheidungen
) }