-
Notifications
You must be signed in to change notification settings - Fork 0
/
firestore.rules
75 lines (69 loc) · 1.9 KB
/
firestore.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /events/{document} {
allow read;
allow read, write: if request.auth != null && request.auth.uid == "zlnmlPv5KfeSEitHQhtd6UReWhF3";
}
}
match /databases/{database}/documents {
match /UserDocs/{userId} {
allow read, create: if request.auth.uid == userId;
allow read, write: if request.auth != null && request.auth.uid == "zlnmlPv5KfeSEitHQhtd6UReWhF3";
}
}
match /databases/{database}/documents {
match /Users/{document} {
allow read;allow write: if request.auth != null;
}
}
match /databases/{database}/documents {
match /rooms/{document} {
allow read;allow write;allow update;
}
}
match /databases/{database}/documents {
match /rooms/{document=**} {
allow read;allow write;allow update;
}
}
match /databases/{database}/documents {
match /calleeCandidates/{document} {
allow read;allow write;
}
}
match /databases/{database}/documents {
match /totalClicks/{document} {
allow read;allow write;
}
}
match /databases/{database}/documents {
match /totalHits/value {
allow read;allow write: if true;
}
}
match /databases/{database}/documents {
match /linkTest/{document} {
allow read;
}
}
match /databases/{database}/documents {
match /eventRequests/{document} {
allow read;allow write;
}
}
match /databases/{database}/documents {
match /version/{document} {
allow read;
}
}
match /databases/{database}/documents {
match /Notes/{document} {
allow read, write: if request.auth != null && request.auth.uid == "zlnmlPv5KfeSEitHQhtd6UReWhF3"
}
}
match /databases/{database}/documents {
match /Secrets/{document} {
allow read: if request.auth != null && request.auth.uid == "zlnmlPv5KfeSEitHQhtd6UReWhF3"
} }
}