提交 00d87464 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: Anne_LXM

纠正`opendb-news-articles.schema.json`错误的权限表达式`doc.uid`为`doc.user_id`

上级 a1774b72
## 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)
- 新增 微信小程序端 首页需强制登录时,隐藏返回首页按钮
## 2.1.1(2023-02-02)
- 重要 分包加载uni-id-pages 优化后 运行时主包大小为:637KB 分包为:78KB,发布后主包大小为:585KB 分包为:75KB
- 新增 微信小程序端 支持选择使用微信资料的“头像”和“昵称” 设置用户资料 [详情参考](https://wdoc-76491.picgzc.qpic.cn/MTY4ODg1MDUyNzQyMDUxNw_21263_rTNhg68FTngQGdvQ_1647431233?w=1280&h=695.7176470588236)
......
{
"id": "uni-starter",
"displayName": "uni-starter",
"version": "2.1.1",
"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.
先完成此消息的编辑!
想要评论请 注册