[ShoutSystems] permission_denied on firebase event

Forge Component
Published on 2017-05-10 by Labs
13 votes
Published on 2017-05-10 by Labs


When sending messages I have error in console

FIREBASE WARNING: set at / failed: permission_denied

and another user is not receiving messages until page is reloaded.

Thank you for any advice.

Found the solution:)

Have to allow all to use database...

set this in rules tab:

  "rules": {
    ".read": true,
    ".write": true

Hi Mykola,

Yes, setting permission rules are mandatory. You don't need to add all permissions to all users as you did, you can configure that, but nice catch! I'll make sure we add this step to the firebase demo module when we implement it.