我一直在尝试使用以下安全规则使子集合中的所有文档完全可读:
match /books {
allow write, update, delete: if false; // This collection cannot be modified
match /sells {
allow read: if true; // All documents and sub-collections of this collection are readable
}
}
但是,当我尝试阅读出售子集合的文档时,我收到 Firebase 权限错误。我究竟做错了什么?