提交 2d5375ff 编写于 作者: DCloud_JSON's avatar DCloud_JSON

2.1.4

上级 66775f09
## 2.1.4(2023-07-11)
- 纠正`opendb-news-articles.schema.json`错误的权限表达式`doc.uid``doc.user_id`
## 2.1.3(2023-05-10)
- 更新 依赖的uni-id-pages的版本为1.1.13 修复 启用摇树优化后切换登陆方式报错的问题
## 2.1.2(2023-02-10)
......
{
"id": "uni-starter",
"displayName": "uni-starter",
"version": "2.1.3",
"version": "2.1.4",
"description": "云端一体应用快速开发基本项目模版",
"keywords": [
"login",
......
......@@ -2,7 +2,7 @@
"bsonType": "object",
"required": ["user_id", "title", "content"],
"permission": {
"read": "doc.uid == auth.uid && doc.article_status == 0 || doc.article_status == 1",
"read": "doc.user_id == auth.uid && doc.article_status == 0 || doc.article_status == 1",
"create": "auth.uid != null",
"update": "doc.user_id == auth.uid",
"delete": "doc.user_id == auth.uid"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册