-
Notifications
You must be signed in to change notification settings - Fork 1
/
database.rules.json
50 lines (50 loc) · 1.49 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
49
50
{
"rules": {
"events": {
"$eventid": {
"config": {
".read": true,
".write": "root.child('events').child($eventid).child('/config/admins').hasChild(auth.uid)"
},
"profiles": {
"$uid": {
".read": "auth.uid != null",
".write": "auth.uid == $uid"
},
".read": "auth.uid != null",
".write": "root.child('events').child($eventid).child('/config/admins').hasChild(auth.uid)"
},
"submissions": {
".read": "auth.uid != null",
".write": "auth.uid != null"
},
"schedule": {
".read": "auth.uid != null",
".write": "root.child('events').child($eventid).child('/config/admins').hasChild(auth.uid)"
},
"venue": {
".read": true,
".write": "root.child('events').child($eventid).child('/config/admins').hasChild(auth.uid)"
},
"sessions": {
".read": true,
".write": "root.child('events').child($eventid).child('/config/admins').hasChild(auth.uid)"
},
"speakers": {
".read": true,
".write": "root.child('events').child($eventid).child('/config/admins').hasChild(auth.uid)"
},
"feedback": {
".read": "auth.uid != null",
".write": true
},
"favorites": {
".read": "auth.uid != null",
".write": true
}
},
".read": true,
".write": false
}
}
}