APIJSON.json 869 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
  3. "APIJSON": {
  4. "Roles": [
  5. {
  6. "RoleName": "Role1", // 权限名称 唯一
  7. "Select": { // 查询
  8. "Table": [ "*" ], // 可操作的表
  9. "Column": [ "*" ], // 可操作的字段
  10. "Filter": []
  11. },
  12. "Insert": { // 添加
  13. "Table": [ "table1", "table2", "table3" ],
  14. "Column": [ "*", "*", "tb.*" ]
  15. },
  16. "Update": { // 修改
  17. "Table": [ "table1", "table2", "table3" ],
  18. "Column": [ "*", "tb.*", "tb.*" ]
  19. },
  20. "Delete": { // 删除
  21. "Table": [ "table1", "table2", "table3" ]
  22. }
  23. },
  24. {
  25. "RoleName": "Role2",
  26. "Select": {
  27. "Table": [ "table1" ],
  28. "Column": [ "tb.*" ]
  29. }
  30. }
  31. ]
  32. }
  33. }