-
Notifications
You must be signed in to change notification settings - Fork 1
/
database.rules.json
48 lines (48 loc) · 1.21 KB
/
database.rules.json
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
{
"rules": {
".read": false,
".write": false,
"checkAccess": {
".read": "auth != null && root.child('admins').hasChild(auth.uid)",
".write": false
},
"admins": {
".read": true,
".write": false
},
"rooms": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"sessions": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"speakers": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"tracks": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"in" :{
"rooms": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"sessions": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"speakers": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
},
"tracks": {
".read": true,
".write": "auth != null && root.child('admins').hasChild(auth.uid)"
}
}
}
}