fix(测试跟踪): 公共用例库跨项目访问权限报错
--bug=1027020 --user=陈建星 【测试跟踪】只读用户-公用用例库-查看用例-点击复制-进入新建用例页面 https://www.tapd.cn/55049933/s/1384512 --bug=1027214 --user=陈建星 【测试跟踪】项目成员角色用户 无法查看公共用例库的用例 https://www.tapd.cn/55049933/s/1384485
This commit is contained in:
parent
e11bf95f14
commit
317c31f36d
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue