【发布时间】:2019-08-28 11:53:30
【问题描述】:
根据我的阅读,当一个函数通过服务器运行时,所有 Firestore 规则都会被忽略。 如何避免这种行为?
【问题讨论】:
标签: google-cloud-firestore google-cloud-functions
根据我的阅读,当一个函数通过服务器运行时,所有 Firestore 规则都会被忽略。 如何避免这种行为?
【问题讨论】:
标签: google-cloud-firestore google-cloud-functions
Cloud Functions 使用 Admin SDK 访问 Firestore,它以管理权限运行并始终绕过安全规则。 (目前)没有办法改变这种行为。
另见:
【讨论】: