Permission rejection denied / rules with corner fire

I get the message "Error: permission_denied: client does not have permission to access the requested data." I'm sure I have a problem with the rules. Is there a way to keep track of which client calls in angularfire have failed? The level of abstraction and ansynchronicity in this library makes it difficult to even find the function call that called it, let alone the actual REST firebase call.

+3


source to share


1 answer


Go to your Firebase console. In the left sidebar, click Expand to expand. Click "Database". From the main screen, click the "Rules" tab.

Copy below JSON paste in rules

{
  "rules": {
    ".read": true,
    ".write": "auth != null"
  }
}

      



Below is a screenshot: -

enter image description here

0


source







All Articles