Files
sol-journal/firestore.rules
2019-06-10 09:17:05 -06:00

12 lines
360 B
Plaintext

service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read: if request.auth != null
&& request.auth.uid == resource.data.userId
&& request.auth.token.email_verified;
allow write: if request.auth != null
&& request.auth.token.email_verified;
}
}
}