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

And*_*rea 0 google-cloud-functions google-cloud-firestore

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

Fra*_*len 5

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

另见: