我的收集路径是{Country}/{State}/{ZipCode},在这里,我将一些数据存储在防火墙中,如图像粘贴所示。
service cloud.firestore { match /{documentallow read;
allow write: if request.resource.data
Firebase on call函数(functions.https.onCall)未将上下文参数值发送到安全规则。这意味着如果我们从UI调用一个firebase on call函数来更新firestore数据库中的内容,我需要在该函数中执行所有的安全检查,并使用admin sdk来更新firestore数据库。我不能使用firebase sdk和firestore安全规则进行身份验证更新。会在违反安全规则<