From 38960adeac6d44e65d41911f1f94b2795b517b90 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Mon, 9 Oct 2023 09:13:41 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=80=908.0=E3=80=91=E3=80=90system?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3=E5=90=8D=E7=A7=B0?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b59e72cdc1d9fbddace78946af5ecbec79f059b3. --- .../role/controller/PermissionAssignController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/controller/PermissionAssignController.java b/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/controller/PermissionAssignController.java index 4e63e3888..1f6615a1d 100644 --- a/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/controller/PermissionAssignController.java +++ b/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/controller/PermissionAssignController.java @@ -88,12 +88,12 @@ public class PermissionAssignController { } /** - * 获取角色的权限范围详情 + * 获取角色的数据权限详情 * * @author fengshuonan * @since 2023/7/16 23:15 */ - @GetResource(name = "获取角色的权限范围详情", path = "/permission/getRoleBindDataScope") + @GetResource(name = "获取角色的数据权限详情", path = "/permission/getRoleBindDataScope") public ResponseData getRoleBindDataScope( @Validated(BaseRequest.detail.class) RoleBindDataScopeRequest roleBindDataScopeRequest) { RoleBindDataScopeResponse roleBindDataScopeResponse = sysRoleDataScopeService.getRoleBindDataScope(roleBindDataScopeRequest); @@ -101,12 +101,12 @@ public class PermissionAssignController { } /** - * 设置角色可绑定的权限范围 + * 角色绑定数据权限的配置 * * @author fengshuonan * @since 2023/7/16 23:40 */ - @PostResource(name = "设置角色可绑定的权限范围", path = "/permission/updateRoleBindDataScope", requiredPermission = true, + @PostResource(name = "角色绑定数据权限的配置", path = "/permission/updateRoleBindDataScope", requiredPermission = true, requirePermissionCode = PermissionCodeConstants.CHANGE_ROLE_DATA_SCOPE) public ResponseData updateRoleBindDataScope( @RequestBody @Validated(RoleBindDataScopeRequest.roleBindDataScope.class) RoleBindDataScopeRequest roleBindDataScopeRequest) {