From 78d4c1775b42c3dadf801697630e7c1125fea7b6 Mon Sep 17 00:00:00 2001 From: linju Date: Wed, 1 Feb 2023 21:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=91=E4=BA=86s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uniCloud-aliyun/database/opendb-news-comments.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniCloud-aliyun/database/opendb-news-comments.schema.json b/uniCloud-aliyun/database/opendb-news-comments.schema.json index c4aa84eb..8587989d 100644 --- a/uniCloud-aliyun/database/opendb-news-comments.schema.json +++ b/uniCloud-aliyun/database/opendb-news-comments.schema.json @@ -5,7 +5,7 @@ ], "permission": { "read": true, - "create": "auth.uid != null && get(`database.opendb-news-article.${doc.article_id}`).comment_status == 1", + "create": "auth.uid != null && get(`database.opendb-news-articles.${doc.article_id}`).comment_status == 1", "update": "doc.user_id == auth.uid", "delete": "doc.user_id == auth.uid" }, -- GitLab