Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akauppi opened this issue Oct 5, 2022 · 1 comment
Open

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

akauppi opened this issue Oct 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working HOT🔥 Something that should be fixed right now - delaying work!! packages/back-end Involves the back-end

Comments

@akauppi
Copy link
Owner

akauppi commented Oct 5, 2022

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 akauppi self-assigned this Oct 5, 2022
@akauppi akauppi added bug Something isn't working packages/back-end Involves the back-end labels Oct 5, 2022
@akauppi
Copy link
Owner Author

akauppi commented Oct 5, 2022

References:

  • https://github.com/firebase/firebase-tools/issues/1980#issuecomment-587690624

@akauppi akauppi added the HOT🔥 Something that should be fixed right now - delaying work!! label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HOT🔥 Something that should be fixed right now - delaying work!! packages/back-end Involves the back-end
Projects
None yet
Development

No branches or pull requests

1 participant