feat(auth & contact): separate Vorname/Nachname in registration, pre-fill read-only profile in contact, and restrict contact messages to registered users

This commit is contained in:
2026-09-14 11:29:12 +02:00
parent 010904a48a
commit 2e9abac25f
5 changed files with 310 additions and 84 deletions
+2 -2
View File
@@ -26,9 +26,9 @@ service cloud.firestore {
(resource.data.author_uid == request.auth.uid);
}
// Kontakt-Nachrichten: Jeder kann einsenden, Lesen nur berechtigte Nutzer
// Kontakt-Nachrichten: Nur registrierte Nutzer können einsenden, Lesen für berechtigte Nutzer
match /ContactMessages/{document} {
allow create: if true;
allow create: if request.auth != null && request.auth.token.firebase.sign_in_provider != 'anonymous';
allow read, update, delete: if request.auth != null;
}
}