update: opendb-msg 修改 create 权限

This commit is contained in:
handongxun 2021-06-24 11:28:47 +08:00
parent 5abb94b5e9
commit 781ab62ee6

View File

@ -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
},