1 Star 0 Fork 0

浏览器 / hoppscotch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
firestore.rules 485 Bytes
一键复制 编辑 原始数据 按行查看 历史
Liyas Thomas 提交于 2020-01-23 08:02 . :fire:Firestore rules
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
}
// 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, update, delete: if request.auth.uid == userId;
allow create: if request.auth.uid != null;
}
}
}
1
https://gitee.com/browsers/hoppscotch.git
git@gitee.com:browsers/hoppscotch.git
browsers
hoppscotch
hoppscotch
master

搜索帮助