fix(测试跟踪): 功能用例的批量关联需求权限无限制

--bug=1014988 --user=李玉号 【测试跟踪】功能用例的批量关联需求权限无限制
https://www.tapd.cn/55049933/s/1203929
This commit is contained in:
shiziyuan9527 2022-07-19 11:19:53 +08:00 committed by shiziyuan9527
parent ef87cce866
commit 076fada1ad
5 changed files with 10 additions and 1 deletions

View File

@ -522,6 +522,11 @@
"name": "commons.batch_restore", "name": "commons.batch_restore",
"resourceId": "PROJECT_TRACK_CASE" "resourceId": "PROJECT_TRACK_CASE"
}, },
{
"id": "PROJECT_TRACK_CASE:READ+BATCH_LINK_DEMAND",
"name": "test_track.case.batch_link_demand",
"resourceId": "PROJECT_TRACK_CASE"
},
{ {
"id": "PROJECT_TRACK_CASE:READ+GENERATE_DEPENDENCIES", "id": "PROJECT_TRACK_CASE:READ+GENERATE_DEPENDENCIES",
"name": "test_track.case.generate_dependencies", "name": "test_track.case.generate_dependencies",

View File

@ -381,7 +381,8 @@ export default {
}, },
{ {
name: this.$t('test_track.demand.batch_relate'), name: this.$t('test_track.demand.batch_relate'),
handleClick: this.openRelateDemand handleClick: this.openRelateDemand,
permissions: ['PROJECT_TRACK_CASE:READ+BATCH_LINK_DEMAND']
}, },
{ {
name: this.$t('test_track.case.generate_dependencies'), name: this.$t('test_track.case.generate_dependencies'),

View File

@ -2148,6 +2148,7 @@ export default {
batch_move_case: 'Batch move', batch_move_case: 'Batch move',
batch_copy: 'Batch copy', batch_copy: 'Batch copy',
batch_add_public: 'Batch add public', batch_add_public: 'Batch add public',
batch_link_demand: 'Bulk Association Requirements',
public_warning: 'The public library configuration is not enabled', public_warning: 'The public library configuration is not enabled',
generate_dependencies: 'Generate dependencies', generate_dependencies: 'Generate dependencies',
generate_dependencies_warning: 'For a better experience, it is recommended to check the data below 100', generate_dependencies_warning: 'For a better experience, it is recommended to check the data below 100',

View File

@ -2148,6 +2148,7 @@ export default {
batch_delete_case: '批量删除', batch_delete_case: '批量删除',
batch_copy: '批量复制', batch_copy: '批量复制',
batch_add_public: '批量添加到公共用例库', batch_add_public: '批量添加到公共用例库',
batch_link_demand: '批量关联需求',
public_warning: '未开启公共库用例配置', public_warning: '未开启公共库用例配置',
generate_dependencies: '生成依赖关系', generate_dependencies: '生成依赖关系',
generate_dependencies_warning: '为了更好的体验,建议勾选一百条以下的数据', generate_dependencies_warning: '为了更好的体验,建议勾选一百条以下的数据',

View File

@ -2143,6 +2143,7 @@ export default {
batch_delete_case: '批量刪除', batch_delete_case: '批量刪除',
batch_copy: '批量復製', batch_copy: '批量復製',
batch_add_public: '批量添加到公共用例庫', batch_add_public: '批量添加到公共用例庫',
batch_link_demand: '批量關聯需求',
public_warning: '未開啟公共庫用例配置', public_warning: '未開啟公共庫用例配置',
generate_dependencies: '生成依賴關系', generate_dependencies: '生成依賴關系',
generate_dependencies_warning: '為了更好的體驗,建議勾選一百條以下的數據', generate_dependencies_warning: '為了更好的體驗,建議勾選一百條以下的數據',