Firebase Firestore规则无法访问文档中的子元素

时间:2017-10-24 14:54:23

标签: firebase firebase-security google-cloud-firestore

例如,以下内容将失败:request.auth.uid == resource.data.creator.id

我的收藏是Tasks / {taskId} 任务包含:

{
  "Title",
  // Creator is An object which contains the user who created it:
  "Creator": {
    "email",
    "id"
  }
}

0 个答案:

没有答案