我想设置我的cloudfirestore数据库权限,这样除了通过云函数之外,没有人能够从中读写。
我该怎么做?
service cloud.firestore { match /databases/{database}/documents { match /<some_path>/ { allow read, write: if <some_condition>; } } }
service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }