@edgedev/firebase 1.9.20 → 1.9.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/firestore.rules +7 -0
- package/src/functions.js +1 -1
package/package.json
CHANGED
package/src/firestore.rules
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
// #EDGE FIREBASE RULES START
|
|
2
2
|
service cloud.firestore {
|
|
3
3
|
|
|
4
|
+
match /databases/{database}/documents/phone-auth/{phone} {
|
|
5
|
+
allow read: if false;
|
|
6
|
+
allow create: if false;
|
|
7
|
+
allow update: if false;
|
|
8
|
+
allow delete: if false;
|
|
9
|
+
}
|
|
10
|
+
|
|
4
11
|
match /databases/{database}/documents/events/{event} {
|
|
5
12
|
allow read: if false;
|
|
6
13
|
allow create: if false;
|
package/src/functions.js
CHANGED
|
@@ -269,7 +269,7 @@ exports.updateUser = functions.firestore.document('staged-users/{docId}').onUpda
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
await markProcessed(eventRef)
|
|
272
|
-
}
|
|
272
|
+
})
|
|
273
273
|
|
|
274
274
|
function setUser(userRef, newData, oldData, stagedDocId) {
|
|
275
275
|
// IT's OK If "users" doesn't match exactly matched "staged-users" because this is only preventing
|