标签: firebase get google-cloud-firestore firebase-security-rules
我在读取Firerestore文档中的属性的获取路径时遇到问题
代码:
match /testDocument/{id} { allow read: if getData().attr = false; allow write; } function getData() { return get(/databases/$(database)/documents/docName/PdAzzxJOyp30UxRlmjJ3).data }
和文档存储区
Document Firestore