-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdatabase.rules.json
66 lines (59 loc) · 1.58 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
/* Visit https://firebase.google.com/docs/database/security to learn more about security rules. */
"rules": {
"rolls": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
"initiative": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
"emotes": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
"mechsquad": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
"mechsquad_detail": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
"clocksquad": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
"drafts": {
"$room": {
".read": true,
".write": true,
".validate": "$room.length > 6 && $room.length < 128 && $room.matches(/^[0-9a-zA-Z-]+$/i)"
}
},
// but no other child paths are allowed
"$other": {
".read": false,
".write": false,
}
}
}