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 @@