From b7d1bde4af205473f8cc8ad45998501c88ced0d8 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 10 Nov 2021 17:39:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1007795 --user=lyh 【Github#7554】在测试计划中,只给用户查询和关联测试用例的权限,用户有执行测试用例的权限;给了用户执行测试用例的权限,用户反而不能执行测试用例 #7554 https://www.tapd.cn/55049933/s/1066128 --- .../view/comonents/functional/FunctionalTestCaseEdit.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue index 331be74165..fa8f5a8a07 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue @@ -62,7 +62,7 @@ @@ -219,6 +219,9 @@ export default { }, systemNameMap() { return SYSTEM_FIELD_NAME_MAP; + }, + statusReadOnly() { + return !hasPermission('PROJECT_TRACK_PLAN:READ+RUN'); } }, methods: {