mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-25 22:16:08 +08:00
update uni-cms schema
This commit is contained in:
parent
8f97662153
commit
50f5ae9fc7
@ -3,7 +3,7 @@
|
||||
"bsonType": "object",
|
||||
"required": ["user_id", "title", "content"],
|
||||
"permission": {
|
||||
"read": "doc.user_id == auth.uid && doc.article_status == 0 || doc.article_status == 1",
|
||||
"read": true,
|
||||
"create": "auth.uid != null",
|
||||
"update": "doc.user_id == auth.uid",
|
||||
"delete": "doc.user_id == auth.uid"
|
||||
|
@ -7,7 +7,7 @@
|
||||
"content_id"
|
||||
],
|
||||
"permission": {
|
||||
"read": "doc.user_id == auth.uid && doc.article_status == 0 || doc.article_status == 1",
|
||||
"read": "doc.user_id == auth.uid",
|
||||
"create": "auth.uid != null",
|
||||
"update": "doc.user_id == auth.uid",
|
||||
"delete": "doc.user_id == auth.uid"
|
||||
|
Loading…
Reference in New Issue
Block a user