fix: 恢复用例、对比报告权限问题#1006345
--bug=1006345 --user=lyh 【用户组和权限】测试跟踪“恢复用例”和性能测试的 “对比报告”,权限控制有问题 https://www.tapd.cn/55049933/s/1043193
This commit is contained in:
parent
9873db7165
commit
2eec0d7f48
|
@ -31,7 +31,7 @@
|
||||||
{{ $t('test_track.plan_view.export_report') }}
|
{{ $t('test_track.plan_view.export_report') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button :disabled="report.status !== 'Completed'" type="default" plain
|
<el-button :disabled="report.status !== 'Completed'" type="default" plain
|
||||||
size="mini"
|
size="mini" v-permission="['PROJECT_PERFORMANCE_REPORT:READ+COMPARE']"
|
||||||
@click="compareReports()">
|
@click="compareReports()">
|
||||||
{{ $t('report.compare') }}
|
{{ $t('report.compare') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
@ -294,7 +294,7 @@ export default {
|
||||||
{
|
{
|
||||||
name: this.$t('commons.reduction'),
|
name: this.$t('commons.reduction'),
|
||||||
handleClick: this.batchReduction,
|
handleClick: this.batchReduction,
|
||||||
permissions: ['PROJECT_TRACK_CASE:READ+EDIT']
|
permissions: ['PROJECT_TRACK_CASE:READ+RECOVER']
|
||||||
}, {
|
}, {
|
||||||
name: this.$t('test_track.case.batch_delete_case'),
|
name: this.$t('test_track.case.batch_delete_case'),
|
||||||
handleClick: this.handleDeleteBatch,
|
handleClick: this.handleDeleteBatch,
|
||||||
|
|
Loading…
Reference in New Issue