refactor(UI测试): 报告权限设置

--bug=1012337 --user=刘瑞斌 【UI测试】权限控制问题汇总 https://www.tapd.cn/55049933/s/1137659
This commit is contained in:
CaptainB 2022-04-18 12:33:12 +08:00 committed by TIanyang
parent 58fdac3980
commit 094a310ffe
5 changed files with 6 additions and 14 deletions

View File

@ -135,8 +135,6 @@ VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+CREATE', 'PROJECT_UI_
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+BATCH_COPY', 'PROJECT_UI_SCENARIO');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+SCHEDULE', 'PROJECT_UI_SCENARIO');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+COPY', 'PROJECT_UI_SCENARIO');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+DELETE', 'PROJECT_UI_SCENARIO');
@ -153,7 +151,7 @@ VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+EDIT', 'PROJECT_UI_SC
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ+DELETE', 'PROJECT_UI_REPORT');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ+EXPORT', 'PROJECT_UI_REPORT');
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ+SHARE', 'PROJECT_UI_REPORT');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ', 'PROJECT_UI_REPORT');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)

View File

@ -844,12 +844,6 @@
"resourceId": "PROJECT_UI_SCENARIO",
"license": true
},
{
"id": "PROJECT_UI_SCENARIO:READ+SCHEDULE",
"name": "permission.project_ui_scenario.schedule",
"resourceId": "PROJECT_UI_SCENARIO",
"license": true
},
{
"id": "PROJECT_UI_SCENARIO:READ+IMPORT_SCENARIO",
"name": "permission.project_ui_scenario.import",
@ -887,8 +881,8 @@
"license": true
},
{
"id": "PROJECT_UI_REPORT:READ+EXPORT",
"name": "permission.project_ui_report.export",
"id": "PROJECT_UI_REPORT:READ+SHARE",
"name": "permission.project_ui_report.share",
"resourceId": "PROJECT_UI_REPORT",
"license": true
},

View File

@ -3059,7 +3059,7 @@ export default {
name: "Report",
read: "READ",
delete: "DELETE",
export: "EXPORT",
share: "SHARE",
},
project_ui_element: {
name: "Element",

View File

@ -3063,7 +3063,7 @@ export default {
name: "测试报告",
read: "查询报告",
delete: "删除报告",
export: "导出报告",
share: "分享报告",
},
project_ui_element: {
name: "元素库",

View File

@ -3062,7 +3062,7 @@ export default {
name: "測試報告",
read: "查詢報告",
delete: "刪除報告",
export: "導出報告",
share: "分享報告",
},
project_ui_element: {
name: "元素庫",