UNPKG
chai-fireproof
Version:
latest (0.2.0)
0.2.0
0.1.4
0.1.0
Firebase and Fireproof support for the Chai assertion library.
chai-fireproof
/
test
/
fixtures
/
security.json
17 lines
(16 loc)
•
265 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"rules"
: {
"adminOnly"
: {
".read"
:
false
,
".write"
:
false
},
"specificUser"
: {
".read"
:
"auth.uid == 'custom:1'"
,
".write"
:
"auth.uid == 'custom:1'"
},
"
$else
"
: {
".read"
:
true
,
".write"
:
true
} } }