提交 f7a3adcd 编写于 作者: leeooo.cn's avatar leeooo.cn 提交者: Gitee

update docs/uniCloud/schema.md.

上级 67701db3
......@@ -1042,7 +1042,7 @@ permission的字段级控制,包括读写两种权限,分别称为:read、
"permission": {
"read": "doc.status==true", // 任何用户都可以读status字段的值为true的记录,其他记录不可读
"create": false, // 禁止新增数据记录(admin权限用户不受限)
"update": 'updateuser' in auth.permission, // 权限标记为updateuser的用户,和admin管理员,可以更新数据,其他人无权更新数据
"update": "'updateuser' in auth.permission", // 权限标记为updateuser的用户,和admin管理员,可以更新数据,其他人无权更新数据
"delete": false // 禁止删除数据(admin权限用户不受限)
},
"properties": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册