提交 53d053bf 编写于 作者: 雪洛's avatar 雪洛

fix: json syntax error

上级 a4162744
{ {
"bsonType": "object", "bsonType": "object",
"permission": { "permission": {
"read": true, "read": true,
"create": "'CREATE_UNI_ID_USERS' in auth.permission", "create": "'CREATE_UNI_ID_USERS' in auth.permission",
"update": "doc._id == auth.uid || 'UPDATE_UNI_ID_USERS' in auth.permission", "update": "doc._id == auth.uid || 'UPDATE_UNI_ID_USERS' in auth.permission",
"delete": "'DELETE_UNI_ID_USERS' in auth.permission" "delete": "'DELETE_UNI_ID_USERS' in auth.permission"
}, },
"properties": { "properties": {
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
"permission": { "permission": {
"read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission",
"write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
} },
"properties": { "properties": {
"auth_date": { "auth_date": {
"bsonType": "timestamp", "bsonType": "timestamp",
...@@ -324,7 +324,6 @@ ...@@ -324,7 +324,6 @@
"field": "role_id as value, role_name as text" "field": "role_id as value, role_name as text"
}, },
"foreignKey": "uni-id-roles.role_id", "foreignKey": "uni-id-roles.role_id",
,
"permission": { "permission": {
"read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission",
"write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
...@@ -454,4 +453,4 @@ ...@@ -454,4 +453,4 @@
} }
}, },
"required": [] "required": []
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册