mirror of
https://github.com/xavidop/cardex.git
synced 2026-08-29 01:08:52 +00:00
fix: firestore rules
This commit is contained in:
+4
-3
@@ -2,9 +2,10 @@ rules_version = '2';
|
|||||||
|
|
||||||
service cloud.firestore {
|
service cloud.firestore {
|
||||||
match /databases/{database}/documents {
|
match /databases/{database}/documents {
|
||||||
// Temporarily allow all authenticated users to test auth
|
// Allow all operations in emulator for development
|
||||||
|
// This will only apply when using Firebase emulators
|
||||||
match /{document=**} {
|
match /{document=**} {
|
||||||
allow read, write: if request.auth != null;
|
allow read, write: if true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user