We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb42555 commit f664c36Copy full SHA for f664c36
firestore.rules
@@ -27,6 +27,20 @@ service cloud.firestore {
27
allow write: if false;
28
}
29
30
+ // Add rules for formatted_data subcollection (new)
31
+ match /formatted_data/{documentType} {
32
+ allow read: if isOwner(userId);
33
+ // Only allow Cloud Functions to write
34
+ allow write: if false;
35
+ }
36
+
37
+ // Add rules for data subcollection (used for combined data)
38
+ match /data/{dataId} {
39
40
41
42
43
44
// Add rules for predictions subcollection
45
match /predictions/{predictionId} {
46
allow read: if isOwner(userId);
0 commit comments