mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 11:38:24 +00:00
Firestore rule for shared lists
This commit is contained in:
parent
622d91d04e
commit
f44a45fd5f
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
service cloud.firestore {
|
||||
match /databases/{database}/documents {
|
||||
match /lists/{userId} {
|
||||
allow read;
|
||||
}
|
||||
|
||||
match /{document=**} {
|
||||
allow read, write: if request.auth.uid != null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue