Skip to content

Commit a315dd5

Browse files
committed
Check auth
1 parent 023401f commit a315dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
service cloud.firestore {
22
match /databases/{database}/documents {
33
match /{document=**} {
4-
allow read, write;
4+
allow read, write: if request.auth.uid != null;
55
}
66
}
77
}

0 commit comments

Comments
 (0)