diff --git a/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/PermissionConstants.java b/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/PermissionConstants.java index 7860105564..4a4687a1e9 100644 --- a/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/PermissionConstants.java +++ b/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/PermissionConstants.java @@ -326,6 +326,6 @@ public class PermissionConstants { /*------ start: ORGANIZATION_TASK_CENTER_READ ------*/ public static final String ORGANIZATION_TASK_CENTER_READ = "ORGANIZATION_TASK_CENTER:READ"; - public static final String ORGANIZATION_TASK_CENTER_READ_STOP = "ORGANIZATION_TASK_CENTER::READ+STOP"; + public static final String ORGANIZATION_TASK_CENTER_READ_STOP = "ORGANIZATION_TASK_CENTER:READ+STOP"; /*------ end: ORGANIZATION_TASK_CENTER_READ ------*/ } diff --git a/frontend/src/router/routes/modules/setting.ts b/frontend/src/router/routes/modules/setting.ts index d439d31123..3ffc1af7f1 100644 --- a/frontend/src/router/routes/modules/setting.ts +++ b/frontend/src/router/routes/modules/setting.ts @@ -189,8 +189,8 @@ const Setting: AppRouteRecordRaw = { 'SYSTEM_SERVICE_INTEGRATION:READ', 'ORGANIZATION_TEMPLATE:READ', 'ORGANIZATION_LOG:READ', - 'ORGANIZATION_TASK_CENTER::READ', - 'ORGANIZATION_TASK_CENTER::READ', + 'ORGANIZATION_TASK_CENTER:READ', + 'ORGANIZATION_TASK_CENTER:READ', ], hideChildrenInMenu: true, }, @@ -412,7 +412,7 @@ const Setting: AppRouteRecordRaw = { component: () => import('@/views/setting/organization/taskCenter/index.vue'), meta: { locale: 'menu.projectManagement.taskCenter', - roles: ['ORGANIZATION_TASK_CENTER::READ'], + roles: ['ORGANIZATION_TASK_CENTER:READ'], isTopMenu: true, }, }, diff --git a/frontend/src/views/project-management/taskCenter/component/apiCase.vue b/frontend/src/views/project-management/taskCenter/component/apiCase.vue index e57f7c98e4..33724f4329 100644 --- a/frontend/src/views/project-management/taskCenter/component/apiCase.vue +++ b/frontend/src/views/project-management/taskCenter/component/apiCase.vue @@ -127,10 +127,10 @@ const permissionsMap = { organization: { - stop: ['ORGANIZATION_TASK_CENTER::READ+STOP'], + stop: ['ORGANIZATION_TASK_CENTER:READ+STOP'], }, system: { - stop: ['ORGANIZATION_TASK_CENTER::READ+STOP'], + stop: ['ORGANIZATION_TASK_CENTER:READ+STOP'], }, project: { stop: ['PROJECT_API_REPORT:READ'],