DigitalFactory/Admin.NET/Admin.NET.Application/Configuration/APIJSON.json

34 lines
869 B
JSON
Raw Normal View History

2024-03-18 01:36:19 +00:00
{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
"APIJSON": {
"Roles": [
{
"RoleName": "Role1", // 权限名称 唯一
"Select": { // 查询
"Table": [ "*" ], // 可操作的表
"Column": [ "*" ], // 可操作的字段
"Filter": []
},
"Insert": { // 添加
"Table": [ "table1", "table2", "table3" ],
"Column": [ "*", "*", "tb.*" ]
},
"Update": { // 修改
"Table": [ "table1", "table2", "table3" ],
"Column": [ "*", "tb.*", "tb.*" ]
},
"Delete": { // 删除
"Table": [ "table1", "table2", "table3" ]
}
},
{
"RoleName": "Role2",
"Select": {
"Table": [ "table1" ],
"Column": [ "tb.*" ]
}
}
]
}
}