⚡ Updated Firestore data rules
This commit is contained in:
parent
65e1221298
commit
c8568ae15a
2 changed files with 1 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
// Allow read/write access on all documents to any user signed in to the application
|
||||
service cloud.firestore {
|
||||
match /databases/{database}/documents {
|
||||
match /{document=**} {
|
||||
allow read, write: if request.auth.uid != null;
|
||||
allow read, write;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ export const fb = {
|
|||
.delete()
|
||||
.catch(e => console.error("error deleting", dt, e)),
|
||||
writeSettings: async (setting, value) => {
|
||||
console.log(value);
|
||||
const st = {
|
||||
updatedOn: new Date(),
|
||||
author: fb.currentUser.uid,
|
||||
|
|
|
|||
Loading…
Reference in a new issue