forked from Vaggtzm/Heavy_local_greece
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.rules.json
52 lines (52 loc) · 1.02 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
51
52
{
"rules": {
"users": {
"$uid": {
"notifications": {
".read": "auth != null && auth.uid === $uid",
".write": false
},
".read": true,
".write": "auth != null && auth.uid === $uid"
}
},
"gallery": {
".read": true
},
"gigs": {
".read": true,
".indexOn": "thumbnail"
},
"comments": {
".read": true
},
"articlesList": {
".read": true,
".indexOn": "date"
},
"articlesListLatest": {
".read": true
},
"deviceTokens":{
".read": false,
".write":false,
".indexOn": "token"
},
"authors": {
"$uid": {
"notifications": {
".read": "auth != null && auth.uid === $uid",
".write": false
},
".read": true,
".write": "auth != null && auth.uid === $uid"
}
},
"ads": {
".read": true,
".write": "auth != null"
},
".read": "auth != null",
".write": "auth.token.admin === true"
}
}