"permission": {
"read": true,
"create": "auth.uid != null && get(`database.opendb-news-article.${doc.article_id}`).comment_status == 1",
"update": "doc.user_id == auth.uid",
"delete": "doc.user_id == auth.uid"
},
seng
- 发布:2023-01-31 17:21
- 更新:2023-02-02 21:53
- 阅读:243
产品分类: 其他/MUI
示例代码:
操作步骤:
无
无
预期结果:
无
无
实际结果:
无
无
bug描述:
见附件
"permission": {
"read": true,
"create": "auth.uid != null && get(database.**opendb-news-article**.${**doc**.article_id}
).comment_status == 1",
"update": "doc.user_id == auth.uid",
"delete": "doc.user_id == auth.uid"
},