refactor(UI测试): 增加基本权限设置

This commit is contained in:
CaptainB 2022-04-03 19:04:12 +08:00 committed by 刘瑞斌
parent 089264666e
commit b2b2e50b57
5 changed files with 47 additions and 0 deletions

View File

@ -152,3 +152,10 @@ INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+MOVE_BATCH', 'PROJECT_UI_SCENARIO');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+EDIT', 'PROJECT_UI_SCENARIO');
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');
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
VALUES (UUID(), 'project_admin', 'PROJECT_UI_REPORT:READ', 'PROJECT_UI_REPORT');

View File

@ -844,6 +844,24 @@
"resourceId": "PROJECT_UI_SCENARIO",
"license": true
},
{
"id": "PROJECT_UI_REPORT:READ",
"name": "permission.project_ui_report.read",
"resourceId": "PROJECT_UI_REPORT",
"license": true
},
{
"id": "PROJECT_UI_REPORT:READ+DELETE",
"name": "permission.project_ui_report.delete",
"resourceId": "PROJECT_UI_REPORT",
"license": true
},
{
"id": "PROJECT_UI_REPORT:READ+EXPORT",
"name": "permission.project_ui_report.export",
"resourceId": "PROJECT_UI_REPORT",
"license": true
},
{
"id": "PROJECT_PERFORMANCE_TEST:READ",
"name": "permission.project_performance_test.read",
@ -1189,6 +1207,10 @@
"name": "permission.project_ui_scenario.name",
"license": true
},
{
"id": "PROJECT_UI_REPORT",
"name": "permission.project_ui_report.name"
},
{
"id": "PROJECT_PERFORMANCE_TEST",
"name": "permission.project_performance_test.name"

View File

@ -3043,6 +3043,12 @@ export default {
delete: "DELETE",
export: "EXPORT",
},
project_ui_report: {
name: "Report",
read: "READ",
delete: "DELETE",
export: "EXPORT",
},
project_performance_test: {
name: "Test",
read: "READ",

View File

@ -3047,6 +3047,12 @@ export default {
delete: "删除报告",
export: "导出报告",
},
project_ui_report: {
name: "测试报告",
read: "查询报告",
delete: "删除报告",
export: "导出报告",
},
project_performance_test: {
name: "测试",
read: "查询测试",

View File

@ -3046,6 +3046,12 @@ export default {
delete: "刪除報告",
export: "導出報告",
},
project_ui_report: {
name: "測試報告",
read: "查詢報告",
delete: "刪除報告",
export: "導出報告",
},
project_performance_test: {
name: "測試",
read: "查詢測試",