服务器端代码的Firestore安全规则

时间:2019-04-07 00:34:06

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

根据我所读的内容,当功能通过服务器运行时,所有Firestore规则都将被忽略。 如何避免这种行为?

1 个答案:

答案 0 :(得分:2)

Cloud Functions使用Admin SDK来访问Firestore,后者以管理特权运行并且始终绕过安全规则。 (当前)无法更改此行为。

另请参阅: