"FirebaseError: Missing or insufficient permissions." error whenever I tried to read from Firestore.
72 views
Skip to first unread message
Ramon Wong
unread,
May 8, 2023, 12:29:14 PM5/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
"FirebaseError: Missing or insufficient permissions." error whenever I tried to read from Firestore. This happens everytime I tried to read the Firestore collection, as an authenticated user But as an unauthenticated user, I've no problem reading from the firestore.
Version of firebase-firestore 9.21.0
rules: rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read: if true
} } }
Authentication methods: Google login, random generated users
Rules Playground: Authenticated and Unauthenticated: simulated read is allowed.
In Practice: Authenticated: "FirebaseError: Missing or insufficient permissions." UnAuthenticated: no problem reading it
Question: How can I make this readable for the authenticated users?