fix(测试计划): 执行测试用例权限问题
--bug=1007795 --user=lyh 【Github#7554】在测试计划中,只给用户查询和关联测试用例的权限,用户有执行测试用例的权限;给了用户执行测试用例的权限,用户反而不能执行测试用例 #7554 https://www.tapd.cn/55049933/s/1066128
This commit is contained in:
parent
c766dd9349
commit
b7d1bde4af
|
@ -62,7 +62,7 @@
|
|||
<el-col :span="10">
|
||||
<test-plan-test-case-status-button class="status-button"
|
||||
@statusChange="statusChange"
|
||||
:is-read-only="isReadOnly"
|
||||
:is-read-only="statusReadOnly"
|
||||
:status="testCase.status"/>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -219,6 +219,9 @@ export default {
|
|||
},
|
||||
systemNameMap() {
|
||||
return SYSTEM_FIELD_NAME_MAP;
|
||||
},
|
||||
statusReadOnly() {
|
||||
return !hasPermission('PROJECT_TRACK_PLAN:READ+RUN');
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue