Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:zap: Updated Firestore data rules

Liyas Thomasbf686736f850
diff --git a/firestore.rules b/firestore.rules
index a276b61b1..31eda1745 100644
--- a/firestore.rules
+++ b/firestore.rules
@@ -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;
}
}
}
diff --git a/functions/fb.js b/functions/fb.js
index afe3589c1..9fa838363 100644
--- a/functions/fb.js
+++ b/functions/fb.js
@@ -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,