self.serverRef.child("stores").observeEventType(.Value, withBlock: { snapshot in
// value successfully checked
}, withCancelBlock: { error in
// error, permission denied.
})
The simplest workaround for the moment is to go into the Database panel in the console for you project, select the Rules tab and replace the contents with these rules:
{
"rules": {
".read": true,
".write": true
}
}
This makes your new database readable and writeable by everyone. Be certain to secure your database again before you go into production, otherwise somebody is likely to start abusing it.
See the quickstart for the Firebase Database security rules.
puf
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e1609740-713e-4140-96a6-15f6c22cfead%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/oXyspJwlgU0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
That access token looks malformed. You can verify this by inspecting the decoded token on jwt.io. Are you sure you copied the entirety of it?Cheers,Jacob
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/015aa58b-c90a-48d6-9c66-76a9e02f5039%40googlegroups.com.