diff --git a/frontend/src/business/components/settings/SettingMenu.vue b/frontend/src/business/components/settings/SettingMenu.vue index bdc5fd1266..4819243e9c 100644 --- a/frontend/src/business/components/settings/SettingMenu.vue +++ b/frontend/src/business/components/settings/SettingMenu.vue @@ -33,9 +33,10 @@ class="setting-item"> {{ $t(menu.title) }} - + - + {{ $t(menu.title) }} diff --git a/frontend/src/business/components/settings/router.js b/frontend/src/business/components/settings/router.js index 55b7e443e3..39a5ac1f52 100644 --- a/frontend/src/business/components/settings/router.js +++ b/frontend/src/business/components/settings/router.js @@ -25,17 +25,17 @@ export default { { path: 'workspace/template/field', component: () => import('@/business/components/settings/workspace/template/CustomFieldList'), - meta: {workspaceTemplate: true, title: 'custom_field.name', permissions: ['WORKSPACE_TEMPLATE:READ']}, + meta: {workspaceTemplate: true, title: 'custom_field.name', permissions: ['WORKSPACE_TEMPLATE:READ+CUSTOM']}, }, { path: 'workspace/template/case', component: () => import('@/business/components/settings/workspace/template/TestCaseTemplateList'), - meta: {workspaceTemplate: true, title: '用例模板', permissions: ['WORKSPACE_TEMPLATE:READ']}, + meta: {workspaceTemplate: true, title: '用例模板', permissions: ['WORKSPACE_TEMPLATE:READ+CASE_TEMPLATE']}, }, { path: 'workspace/template/issues', component: () => import('@/business/components/settings/workspace/template/IssuesTemplateList'), - meta: {workspaceTemplate: true, title: '缺陷模板', permissions: ['WORKSPACE_TEMPLATE:READ']}, + meta: {workspaceTemplate: true, title: '缺陷模板', permissions: ['WORKSPACE_TEMPLATE:READ+ISSUE_TEMPLATE']}, }, { path: 'workspace/template/report', @@ -44,7 +44,7 @@ export default { meta: { workspaceTemplate: true, title: 'test_track.plan_view.report_template', - permissions: ['WORKSPACE_TEMPLATE:READ'] + permissions: ['WORKSPACE_TEMPLATE:READ+REPORT_TEMPLATE'] } }, {