2 Star 7 Fork 6

simazilin/hoppscotch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
firestore.rules 547 Bytes
一键复制 编辑 原始数据 按行查看 历史
liyasthomas 提交于 2022-01-21 13:13 . refactor: updated firebase rules
service cloud.firestore {
match /databases/{database}/documents {
// Make sure the uid of the requesting user matches name of the user
// document. The wildcard expression {userId} makes the userId variable
// available in rules.
match /users/{userId} {
allow read, write, create, update, delete: if request.auth.uid != null && request.auth.uid == userId;
}
match /users/{userId}/{document=**} {
allow read, write, create, update, delete: if request.auth.uid != null && request.auth.uid == userId;
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/simazilin_cn/hoppscotch.git
git@gitee.com:simazilin_cn/hoppscotch.git
simazilin_cn
hoppscotch
hoppscotch
HPS-OSS-1

搜索帮助