From 4dbefc9404ccb6ce11d3774a182d0cbe458c4751 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Mon, 2 Mar 2020 15:29:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/controller/WorkspaceController.java | 2 +- .../src/performance/components/settings/SettingMenu.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/controller/WorkspaceController.java b/backend/src/main/java/io/metersphere/controller/WorkspaceController.java index 75c5748631..51be1dfc84 100644 --- a/backend/src/main/java/io/metersphere/controller/WorkspaceController.java +++ b/backend/src/main/java/io/metersphere/controller/WorkspaceController.java @@ -65,7 +65,7 @@ public class WorkspaceController { } @PostMapping("list/all/{goPage}/{pageSize}") - @RequiresRoles(RoleConstants.ORG_ADMIN) + @RequiresRoles(RoleConstants.ADMIN) public Pager> getAllWorkspaceList(@PathVariable int goPage, @PathVariable int pageSize) { Page page = PageHelper.startPage(goPage, pageSize, true); return PageUtils.setPageInfo(page, workspaceService.getAllWorkspaceList()); diff --git a/frontend/src/performance/components/settings/SettingMenu.vue b/frontend/src/performance/components/settings/SettingMenu.vue index 7189b03b76..880ebf06a1 100644 --- a/frontend/src/performance/components/settings/SettingMenu.vue +++ b/frontend/src/performance/components/settings/SettingMenu.vue @@ -5,9 +5,9 @@