mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update collection/opendb-msg/collection.json.
This commit is contained in:
parent
d4a0481fa8
commit
fc16793f28
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user