akauppi / GroundLevel-firebase-es

[ANCHORED] Stencil for operational web apps
https://groundlevel-sep22.web.app/
Other
23 stars 3 forks source link

[BUG]: Realtime database indices not set for emulation #114

Open akauppi opened 1 year ago

akauppi commented 1 year ago

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.

akauppi commented 1 year ago

References: