From fc16793f2857b71eed7da197e0f43f8e4f5caf3d Mon Sep 17 00:00:00 2001 From: linju Date: Fri, 21 May 2021 17:39:25 +0800 Subject: [PATCH] update collection/opendb-msg/collection.json. --- collection/opendb-msg/collection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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