android - 由于规则,Firebase 实时数据库权限被拒绝
问题描述
当我允许“testName”读写为真时,它在子节点上工作,但是,当我在“test”和“testType”上允许时,即使我插入 test 和 testType,它也会拒绝权限。我怎么解决这个问题?
"game": {
"$gamerid": {
"$testName": {
// ".read": true,
// ".write": true,
"test": {
".read": true,
".write": true,
},
"testType": {
".read": true,
".write": true,
},
}
}
},
解决方案
推荐阅读
- flutter - Flutter:Hero 小部件、Navigation 2.0 和 Provider 不能一起正常工作
- mongodb - 在 Mongodb 中获取单个文档的大小?
- reactjs - 传递多个参数后调用两次 useEffect
- python - 使用 Python 将标题添加到 CSV 文件
- swift - 带双引号的 Alamofire 标头
- node.js - 如何检查我的机器人是否可以在 discord.js v12 中添加角色?
- reactjs - Componentdidmount:获取请求并设置状态
- javascript - 我应该在 react-native 项目中将firebase初始化放在哪里?
- unix - 在特殊字段 AWK 中搜索字符
- excel - 将工作表拆分为多个工作表并保持格式化 VBA