gpt4 book ai didi

Firebase 规则自行重置

转载 作者:行者123 更新时间:2023-12-04 11:15:50 26 4
gpt4 key购买 nike

我在文档中找不到答案。
默认的 Firebase 规则是:

{
"rules": {
".read": "auth != null",
".write": "auth != null"
}
}

我已经编辑了我的看起来像这样并保存了它们:
{
"rules": {
"users":{
".read": true,
".write": "auth != null"
},
".read": "auth != null",
".write": "auth != null"
}
}

没有我做任何事情,他们似乎在 12 小时后随机重置为旧规则。我在这里错过了某种持久性选项吗?

最佳答案

从评论中添加此内容,以免其他人错过。

It seems most likely that you're deploying a firebase-rules.json as part of running firebase deploy with the Firebase Tools. See this question. I thought there was also a more recent question about it, but I can't find it right now

关于Firebase 规则自行重置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41706993/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com