组件模块增加permission

This commit is contained in:
zegezy 2024-03-10 23:11:35 +08:00
parent 268a5cd9df
commit 74f41347ab
7 changed files with 98 additions and 14 deletions

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "保存tree", "name" : "保存tree",
"createTime" : null, "createTime" : null,
"updateTime" : 1709539934808, "updateTime" : 1710083166610,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/save/tree", "path" : "/save/tree",
"method" : "POST", "method" : "POST",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:save:tree",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "保存代码", "name" : "保存代码",
"createTime" : null, "createTime" : null,
"updateTime" : 1709773549985, "updateTime" : 1710083195471,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/saveCode", "path" : "/saveCode",
"method" : "POST", "method" : "POST",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:save:code",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "删除组件", "name" : "删除组件",
"createTime" : null, "createTime" : null,
"updateTime" : 1709540925818, "updateTime" : 1710082768049,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/delete", "path" : "/delete",
"method" : "DELETE", "method" : "DELETE",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:delete",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "组件历史", "name" : "组件历史",
"createTime" : null, "createTime" : null,
"updateTime" : 1709965399273, "updateTime" : 1710083257848,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/history", "path" : "/history",
"method" : "POST", "method" : "POST",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:history:list",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "获取历史代码详情", "name" : "获取历史代码详情",
"createTime" : null, "createTime" : null,
"updateTime" : 1709805913373, "updateTime" : 1710083294611,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/history/detail", "path" : "/history/detail",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:history:detail",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "获取最后一版代码", "name" : "获取最后一版代码",
"createTime" : null, "createTime" : null,
"updateTime" : 1709964701024, "updateTime" : 1710082965250,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/getLastCode", "path" : "/getLastCode",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:get:last:code",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -5,14 +5,26 @@
"groupId" : "6f106ebdee21489db34b956f7770ff03", "groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "获取源码", "name" : "获取源码",
"createTime" : null, "createTime" : null,
"updateTime" : 1709533763038, "updateTime" : 1710083402784,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/getSourceCode", "path" : "/getSourceCode",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "component:get:code",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],