diff --git a/collection/opendb-msg/collection.json b/collection/opendb-msg/collection.json index eb49e09..bfe6c82 100644 --- a/collection/opendb-msg/collection.json +++ b/collection/opendb-msg/collection.json @@ -3,7 +3,7 @@ "bsonType": "object", "required": ["to_uid", "body", "type"], "permission": { - "read": "auto.uid == doc.to_uid", + "read": "auth.uid == doc.to_uid", "create": true, "update": false, "delete": false