chore: remove unsupported permission

This commit is contained in:
wangyaqi 2021-04-25 18:00:05 +08:00
parent 1e3d12fa5d
commit 67a8238463

View File

@ -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"
},