diff --git a/project-management/backend/src/main/java/io/metersphere/controller/TestCaseTemplateController.java b/project-management/backend/src/main/java/io/metersphere/controller/TestCaseTemplateController.java index de3ca66ac4..f9ff0e74f1 100644 --- a/project-management/backend/src/main/java/io/metersphere/controller/TestCaseTemplateController.java +++ b/project-management/backend/src/main/java/io/metersphere/controller/TestCaseTemplateController.java @@ -65,7 +65,6 @@ public class TestCaseTemplateController { } @GetMapping("/get/relate/{projectId}") - @RequiresPermissions(value = {PermissionConstants.PROJECT_TEMPLATE_READ_CASE_TEMPLATE, PermissionConstants.PROJECT_TRACK_CASE_READ}, logical = Logical.OR) public TestCaseTemplateDao getTemplate(@PathVariable String projectId) { return testCaseTemplateService.getTemplate(projectId); } diff --git a/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java b/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java index 78cbc8cebe..c8bc1b0115 100644 --- a/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java +++ b/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java @@ -224,7 +224,6 @@ public class IssuesController { } @GetMapping("/demand/list/{projectId}") - @RequiresPermissions(PermissionConstants.PROJECT_TRACK_CASE_READ) public List getDemandList(@PathVariable String projectId) { return issuesService.getDemandList(projectId); } diff --git a/test-track/frontend/src/business/case/components/case/CaseDetailComponent.vue b/test-track/frontend/src/business/case/components/case/CaseDetailComponent.vue index b852286b5c..8c45331866 100644 --- a/test-track/frontend/src/business/case/components/case/CaseDetailComponent.vue +++ b/test-track/frontend/src/business/case/components/case/CaseDetailComponent.vue @@ -25,6 +25,7 @@ size="small" :placeholder="$t('case.please_enter_the_case_name')" v-model="form.name" + :disabled="readOnly" @blur="textBlur(val, 'nameRef')" :maxlength="255" show-word-limit