With a rules.bolt file that contains
path / {
read() = true;
write() = true;
}
and a firebase.json that contains
{...
"rules": "rules.bolt"
}
running firebase deploy:rules results in the following rules:
{"rules":{"rules":{".read":"true",".write":"true"}}}
while it should be
{"rules":{".read":"true",".write":"true"}}
A current workaround is to run firebase-bolt locally and deploy the resulting json file.
Looks like this is fixed after version 2.1.0 of firebase-tools (not yet released as its own version).
https://github.com/firebase/firebase-tools/pull/101
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With