Analyse: Einwilligungs-Historie, Nachweis beim Einschalten, Sperre ohne Verantwortlichen-Angaben, Textform für Mitarbeiter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-01 18:50:36 +00:00
1 parent c6824f83a6
commit 3d05472b25
14 files changed
+585 -115

No files matched your search

+6 -1
View File
@@ -85,7 +85,12 @@ export const consent = {
/** Kunden-Session; Standard c1. */
export const customerCookie = (customerId = 'c1') =>
sessionCookie({ customerId, appwriteUserId: customers[customerId]?.appwriteUserId || `u_${customerId}` })
sessionCookie({
customerId,
appwriteUserId: customers[customerId]?.appwriteUserId || `u_${customerId}`,
name: customers[customerId]?.name || '', // wie beim echten Login (auth.js)
email: customers[customerId]?.email || '',
})
/** Admin-Session (Ticketsystem-Mitarbeiter im Portal), F11. */
export const adminCookie = () =>