mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
fix: opendb-news-comments 权限配置错误问题
This commit is contained in:
parent
0256296464
commit
2ed60492cf
@ -5,8 +5,8 @@
|
|||||||
"permission": {
|
"permission": {
|
||||||
"read": true,
|
"read": true,
|
||||||
"create": "auth.uid != null",
|
"create": "auth.uid != null",
|
||||||
"update": "doc.uid == auth.uid",
|
"update": "doc.user_id == auth.uid",
|
||||||
"delete": "doc.uid == auth.uid"
|
"delete": "doc.user_id == auth.uid"
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"_id": {
|
"_id": {
|
||||||
@ -66,8 +66,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"data": [],
|
"data": [],
|
||||||
"index": [
|
"index": [{
|
||||||
{
|
|
||||||
"IndexName": "article_id_",
|
"IndexName": "article_id_",
|
||||||
"MgoKeySchema": {
|
"MgoKeySchema": {
|
||||||
"MgoIndexKeys": [{
|
"MgoIndexKeys": [{
|
||||||
|
Loading…
Reference in New Issue
Block a user