NGTools/uni_modules/uni-id-pages/uniCloud/database/uni-id-permissions.schema.json
liaody 3d90da2569 pages.json 分文件配置
uni-module 更新升级
2024-10-09 22:44:03 +08:00

53 lines
1.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"bsonType": "object",
"required": ["permission_id", "permission_name"],
"permission": {
"read": "'READ_UNI_ID_PERMISSIONS' in auth.permission",
"create": "'CREATE_UNI_ID_PERMISSIONS' in auth.permission",
"update": "'UPDATE_UNI_ID_PERMISSIONS' in auth.permission",
"delete": "'DELETE_UNI_ID_PERMISSIONS' in auth.permission"
},
"properties": {
"_id": {
"description": "存储文档 ID系统自动生成"
},
"comment": {
"bsonType": "string",
"component": {
"name": "textarea"
},
"description": "备注",
"label": "备注",
"title": "备注",
"trim": "both"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间",
"forceDefaultValue": {
"$env": "now"
}
},
"permission_id": {
"bsonType": "string",
"component": {
"name": "input"
},
"description": "权限唯一标识,不可修改,不允许重复",
"label": "权限标识",
"title": "权限ID",
"trim": "both"
},
"permission_name": {
"bsonType": "string",
"component": {
"name": "input"
},
"description": "权限名称",
"label": "权限名称",
"title": "权限名称",
"trim": "both"
}
}
}