mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 04:03:06 +00:00
update firestore rules
This commit is contained in:
parent
9d2c1cd7ef
commit
8baff30a41
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue