mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
update: opendb-msg 修改 create 权限
This commit is contained in:
parent
5abb94b5e9
commit
781ab62ee6
@ -3,8 +3,8 @@
|
||||
"bsonType": "object",
|
||||
"required": ["to_uid", "body", "type"],
|
||||
"permission": {
|
||||
"read": "auth.uid == doc.to_uid",
|
||||
"create": false,
|
||||
"read": "auth.uid == doc.to_uid || auth.uid == doc.from_uid",
|
||||
"create": "auth.uid != null",
|
||||
"update": false,
|
||||
"delete": false
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user