shoppers
shoppers copied to clipboard
I try to follow youtube documentation but get following error
[Firestore]: Listen for Query(usert: LoadUser, nextStatecXcXRhA3) failed: Status{code=PERMISSION_DENIED, description=Missing or insufficient pers/yxxy6Y6yVAWwF2l2ToqMcXcXRhA3) failed: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., causes/yxxy6Y6yVAWwF2l2ToqMSION_DENIED: Missing or insufficient permissions.=null} ssing or insufficient I/System.out( 8508): com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permstoreException: PERMISissions.
how to setup the firestore and rules setting
Add firebase firestore security rules.
Allow authenticated users to access the data.
Thanks and Regards, Raja Babu Team Hathtech
On Sun, Apr 19, 2020, 4:14 PM Tommy Lam [email protected] wrote:
[Firestore]: Listen for Query(usert: LoadUser, nextStatecXcXRhA3) failed: Status{code=PERMISSION_DENIED, description=Missing or insufficient pers/yxxy6Y6yVAWwF2l2ToqMcXcXRhA3) failed: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., causes/yxxy6Y6yVAWwF2l2ToqMSION_DENIED: Missing or insufficient permissions.=null} ssing or insufficient I/System.out( 8508): com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permstoreException: PERMISissions.
how to setup the firestore and rules setting
[image: image] https://user-images.githubusercontent.com/333188/79685754-ac2e8f00-826d-11ea-9f7c-6d68717829de.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HathTech/shoppers/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIPIYY4PWWD6NAEM2QDO6TRNLIZ7ANCNFSM4MLXQXDQ .
Add this to firestore security rules
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
}
}
}