rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /waitlist_entries/{entryId} { allow read: if true; allow create: if request.resource.data.email is string; allow update, delete: if false; } match /stats/{statId} { allow read: if true; allow write: if true; } } }