fix: opendb-news-comments 权限配置错误问题

This commit is contained in:
handongxun 2021-09-13 15:46:35 +08:00
parent 0256296464
commit 2ed60492cf

View File

@ -5,8 +5,8 @@
"permission": {
"read": true,
"create": "auth.uid != null",
"update": "doc.uid == auth.uid",
"delete": "doc.uid == auth.uid"
"update": "doc.user_id == auth.uid",
"delete": "doc.user_id == auth.uid"
},
"properties": {
"_id": {
@ -66,8 +66,7 @@
}
},
"data": [],
"index": [
{
"index": [{
"IndexName": "article_id_",
"MgoKeySchema": {
"MgoIndexKeys": [{