-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatabase.rules.json
More file actions
33 lines (33 loc) · 891 Bytes
/
database.rules.json
File metadata and controls
33 lines (33 loc) · 891 Bytes
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
{
"rules": {
"gotout": {
"$email": {
".write": "$email === auth.email.toLowerCase().replace('.','')"
}
},
"targets": {
"$email": {
".read": "$email === auth.email.toLowerCase().replace('.','')"
}
},
"out": {
"$email": {
".read": "$email === auth.email.toLowerCase().replace('.','')"
}
},
"names": {
".read": "root.child('names').child(auth.email.toLowerCase().replace('.','')).exists()"
},
"classes": {
".read": "root.child('names').child(auth.email.toLowerCase().replace('.','')).exists()"
},
"numTags": {
".read": "root.child('names').child(auth.email.toLowerCase().replace('.','')).exists()"
},
"tags": {
".read": "root.child('names').child(auth.email.toLowerCase().replace('.','')).exists()"
},
".read": "false",
".write": "false"
}
}