GroundLevel-firebase-es
GroundLevel-firebase-es copied to clipboard
[BUG]: Realtime database indices not set for emulation
Steps
$ git checkout next.sep22
$ make install
$ cd packages/backend
$ make install
$ make app:start
$ curl localhost:6869/.settings/rules.json?ns=demo-main -H 'Authorization: Bearer owner'
Expected
Output should match database.rules.app.json
Actual
{
"rules": {
".read": true,
".write": true
}
This is the default rules, not the ones we've set.
Implications
We get warnings in packages/app make test, about missing indices.
References:
https://github.com/firebase/firebase-tools/issues/1980#issuecomment-587690624