Skip to content

firestore access denied #13

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

Closed
joseph7h opened this issue Sep 16, 2018 · 1 comment
Closed

firestore access denied #13

joseph7h opened this issue Sep 16, 2018 · 1 comment

Comments

@joseph7h
Copy link

FIREBASE_WARNING: set at /Messages/-LMZ61mv4YBnYxUqH-y9 failed: permission_denied.

Can you please show your firestore rules so I can correct mine? Details below.

service cloud.firestore {
match /databases/{database}/documents {
match /Messages/-LMZ61mv4YBnYxUqH-y9 {
allow read, write: if true;
}
}
}

@joseph7h
Copy link
Author

Oops, just found I need to change the security access rules for the realtime db, not the firestore db.
Everything works now.

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

@plzen plzen closed this as completed Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants