Repository navigation
Expand file tree
/
Copy pathdatabase.rules.json
More file actions
17 lines (15 loc) · 1.63 KB
/
Copy pathdatabase.rules.json
File metadata and controls
17 lines (15 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"rules": {
".read": false,
".write": false,
"meta": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"devTypes": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"kansCats": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"devs": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"kansen": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"matches": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"users": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"koers": { ".read": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true", ".write": "auth != null && root.child('allowedUsers').child(auth.uid).val() === true" },
"allowedUsers": { ".read": false, ".write": false }
}
}