From b99d7a60faf44baf5fb56584d59757c38d162c83 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Sun, 17 Mar 2024 01:41:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=BB=84=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037240 --user=宋昌昌 【项目管理】项目与权限-用户组-管理员账号来修改权限,报错没有权限操作全局用户组 https://www.tapd.cn/55049933/s/1476736 --- .../project/mapper/ExtProjectUserRoleMapper.xml | 2 +- .../project/service/ProjectUserRoleService.java | 2 -- .../service/OrganizationUserRoleService.java | 3 ++- .../business/ms-user-group-comp/authTable.vue | 6 +++--- .../ms-user-group-comp/msUserGroupLeft.vue | 15 ++++++++++++--- .../src/components/pure/ms-table/base-table.vue | 3 +-- frontend/src/locale/zh-CN/common.ts | 2 +- .../userGroup/projectUserGroup.vue | 10 +++++----- .../organization/usergroup/orgUserGroup.vue | 4 +++- 9 files changed, 28 insertions(+), 19 deletions(-) diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtProjectUserRoleMapper.xml b/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtProjectUserRoleMapper.xml index 4963cf31be..a8934c8c82 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtProjectUserRoleMapper.xml +++ b/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtProjectUserRoleMapper.xml @@ -10,7 +10,7 @@ ur.name like concat('%', #{request.keyword}, '%') ) - order by ur.create_time + order by ur.internal desc, ur.scope_id desc, ur.create_time