Skip to content
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

I try to follow youtube documentation but get following error #4

Open
namsouth opened this issue Apr 19, 2020 · 2 comments
Open

I try to follow youtube documentation but get following error #4

namsouth opened this issue Apr 19, 2020 · 2 comments

Comments

@namsouth
Copy link

[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

@HathTech
Copy link
Owner

HathTech commented Apr 19, 2020 via email

@rajababu3
Copy link
Contributor

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;
    }
  }
}

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

3 participants