You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
5 days ago
|
{
|
||
|
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
|
||
|
|
||
|
"APIJSON": {
|
||
|
"Roles": [
|
||
|
{
|
||
|
"RoleName": "Role1", // 权限名称 唯一
|
||
|
"Select": { // 查询
|
||
|
"Table": [ "*" ], // 可操作的表
|
||
|
"Column": [ "tb.*" ], // 可操作的字段
|
||
|
"Filter": []
|
||
|
},
|
||
|
"Insert": { // 添加
|
||
|
"Table": [ "table1", "table2", "table3" ],
|
||
|
"Column": [ "tb.*", "tb.*", "tb.*" ]
|
||
|
},
|
||
|
"Update": { // 修改
|
||
|
"Table": [ "table1", "table2", "table3" ],
|
||
|
"Column": [ "tb.*", "tb.*", "tb.*" ]
|
||
|
},
|
||
|
"Delete": { // 删除
|
||
|
"Table": [ "table1", "table2", "table3" ]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"RoleName": "Role2",
|
||
|
"Select": {
|
||
|
"Table": [ "table1" ],
|
||
|
"Column": [ "*" ]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|