update firestore rules

This commit is contained in:
Gamebrary 2020-10-05 11:39:54 -07:00
parent 9d2c1cd7ef
commit 8baff30a41

View file

@ -1,11 +1,8 @@
service cloud.firestore { service cloud.firestore {
match /databases/{database}/documents { match /databases/{database}/documents {
match /lists/{userId} {
allow read;
}
match /{document=**} { match /{document=**} {
allow read, write: if request.auth.uid != null; allow read;
allow write: if request.auth.uid != null;
allow delete: if request.auth.uid != null; allow delete: if request.auth.uid != null;
} }
} }