From 67a82384636cab1d6a71411856320982b6083376 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Sun, 25 Apr 2021 18:00:05 +0800 Subject: [PATCH] chore: remove unsupported permission --- collection/opendb-news-comments/collection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection/opendb-news-comments/collection.json b/collection/opendb-news-comments/collection.json index 45db8d5..81a0e89 100644 --- a/collection/opendb-news-comments/collection.json +++ b/collection/opendb-news-comments/collection.json @@ -4,7 +4,7 @@ "required": ["article_id", "user_id", "comment_content", "like_count", "comment_type", "reply_user_id", "reply_comment_id"], "permission": { "read": true, - "create": "auth.uid != null && get(`database.opendb-news-article.${doc.article_id}`).comment_status == 1", + "create": "auth.uid != null", "update": "doc.uid == auth.uid", "delete": "doc.uid == auth.uid" },