[ShoutSystems] permission_denied on firebase event

[ShoutSystems] permission_denied on firebase event

  
Forge Component
(4)
Published on 6 Oct by OutSystems Labs
4 votes
Published on 6 Oct by OutSystems Labs

Hi,

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.

Thanks!
Regards