Files
sol-journal/firestore.rules
2019-06-05 15:19:57 -06:00

13 lines
416 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.uid == resource.data.userId
&& request.auth.token.email_verified;
}
}
}