Firebase permission-denied

前端 未结 4 1477
Happy的楠姐
Happy的楠姐 2021-02-20 08:59

I\'m a newbie in firebase.

How do I get through this below rule?

service cloud.firestore {
  match /databases/{database}/documents {
    match /{document         


        
4条回答
  •  无人共我
    2021-02-20 09:44

    For others struggling with this problem, the proper solution is to change the false in

    service cloud.firestore { 
        match /databases/{database}/documents {
            match /{document=**} { 
                allow read, write: if false; 
            } 
        }
    }
    

    To true while testing. Don't forget to add additional security when going live with your project!

提交回复
热议问题