update collection/opendb-msg/collection.json.

This commit is contained in:
linju 2021-05-21 17:39:25 +08:00 committed by Gitee
parent d4a0481fa8
commit fc16793f28

View File

@ -3,7 +3,7 @@
"bsonType": "object", "bsonType": "object",
"required": ["to_uid", "body", "type"], "required": ["to_uid", "body", "type"],
"permission": { "permission": {
"read": "auto.uid == doc.to_uid", "read": "auth.uid == doc.to_uid",
"create": true, "create": true,
"update": false, "update": false,
"delete": false "delete": false