refactor(UI测试): 报告权限设置
--bug=1012337 --user=刘瑞斌 【UI测试】权限控制问题汇总 https://www.tapd.cn/55049933/s/1137659
This commit is contained in:
parent
58fdac3980
commit
094a310ffe
|
@ -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)
|
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');
|
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)
|
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');
|
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+COPY', 'PROJECT_UI_SCENARIO');
|
||||||
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||||
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+DELETE', 'PROJECT_UI_SCENARIO');
|
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)
|
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||||
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ+DELETE', 'PROJECT_UI_REPORT');
|
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ+DELETE', 'PROJECT_UI_REPORT');
|
||||||
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
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)
|
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||||
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ', 'PROJECT_UI_REPORT');
|
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ', 'PROJECT_UI_REPORT');
|
||||||
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||||
|
|
|
@ -844,12 +844,6 @@
|
||||||
"resourceId": "PROJECT_UI_SCENARIO",
|
"resourceId": "PROJECT_UI_SCENARIO",
|
||||||
"license": true
|
"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",
|
"id": "PROJECT_UI_SCENARIO:READ+IMPORT_SCENARIO",
|
||||||
"name": "permission.project_ui_scenario.import",
|
"name": "permission.project_ui_scenario.import",
|
||||||
|
@ -887,8 +881,8 @@
|
||||||
"license": true
|
"license": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "PROJECT_UI_REPORT:READ+EXPORT",
|
"id": "PROJECT_UI_REPORT:READ+SHARE",
|
||||||
"name": "permission.project_ui_report.export",
|
"name": "permission.project_ui_report.share",
|
||||||
"resourceId": "PROJECT_UI_REPORT",
|
"resourceId": "PROJECT_UI_REPORT",
|
||||||
"license": true
|
"license": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -3059,7 +3059,7 @@ export default {
|
||||||
name: "Report",
|
name: "Report",
|
||||||
read: "READ",
|
read: "READ",
|
||||||
delete: "DELETE",
|
delete: "DELETE",
|
||||||
export: "EXPORT",
|
share: "SHARE",
|
||||||
},
|
},
|
||||||
project_ui_element: {
|
project_ui_element: {
|
||||||
name: "Element",
|
name: "Element",
|
||||||
|
|
|
@ -3063,7 +3063,7 @@ export default {
|
||||||
name: "测试报告",
|
name: "测试报告",
|
||||||
read: "查询报告",
|
read: "查询报告",
|
||||||
delete: "删除报告",
|
delete: "删除报告",
|
||||||
export: "导出报告",
|
share: "分享报告",
|
||||||
},
|
},
|
||||||
project_ui_element: {
|
project_ui_element: {
|
||||||
name: "元素库",
|
name: "元素库",
|
||||||
|
|
|
@ -3062,7 +3062,7 @@ export default {
|
||||||
name: "測試報告",
|
name: "測試報告",
|
||||||
read: "查詢報告",
|
read: "查詢報告",
|
||||||
delete: "刪除報告",
|
delete: "刪除報告",
|
||||||
export: "導出報告",
|
share: "分享報告",
|
||||||
},
|
},
|
||||||
project_ui_element: {
|
project_ui_element: {
|
||||||
name: "元素庫",
|
name: "元素庫",
|
||||||
|
|
Loading…
Reference in New Issue