From 3777a988311c1dbb9788c74867be86b1bf084135 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 27 May 2021 17:37:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=97=B6=E7=9A=84=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/components/track/case/components/TestCaseEdit.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue index b1535ec4c0..d8707d7fcf 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -279,7 +279,8 @@ return SYSTEM_FIELD_NAME_MAP; }, readOnly() { - return !hasPermission('PROJECT_TRACK_CASE:READ+EDIT'); + return !hasPermission('PROJECT_TRACK_CASE:READ+CREATE') && + !hasPermission('PROJECT_TRACK_CASE:READ+EDIT'); } }, mounted() {