【问题标题】:Firestore security rules for server side code服务器端代码的 Firestore 安全规则
【发布时间】:2019-08-28 11:53:30
【问题描述】:

根据我的阅读,当一个函数通过服务器运行时,所有 Firestore 规则都会被忽略。 如何避免这种行为?

【问题讨论】:

    标签: google-cloud-firestore google-cloud-functions


    【解决方案1】:

    Cloud Functions 使用 Admin SDK 访问 Firestore,它以管理权限运行并始终绕过安全规则。 (目前)没有办法改变这种行为。

    另见:

    【讨论】:

      猜你喜欢
      • 2021-07-29
      • 2021-11-07
      • 2021-07-05
      • 2018-10-19
      • 2019-07-05
      • 2020-06-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多