diff --git a/backend/src/main/resources/db/migration/V115__1.20__release.sql b/backend/src/main/resources/db/migration/V115__1.20__release.sql index 183b52de68..df3e29d678 100644 --- a/backend/src/main/resources/db/migration/V115__1.20__release.sql +++ b/backend/src/main/resources/db/migration/V115__1.20__release.sql @@ -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'); + diff --git a/backend/src/main/resources/permission.json b/backend/src/main/resources/permission.json index 4ae01c22fa..d3b6df881a 100644 --- a/backend/src/main/resources/permission.json +++ b/backend/src/main/resources/permission.json @@ -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" diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 54c422c5c9..214e6eafe8 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -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", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 50621e62cd..f625099d9a 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -3047,6 +3047,12 @@ export default { delete: "删除报告", export: "导出报告", }, + project_ui_report: { + name: "测试报告", + read: "查询报告", + delete: "删除报告", + export: "导出报告", + }, project_performance_test: { name: "测试", read: "查询测试", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index b7afe8febb..12ce86f494 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -3046,6 +3046,12 @@ export default { delete: "刪除報告", export: "導出報告", }, + project_ui_report: { + name: "測試報告", + read: "查詢報告", + delete: "刪除報告", + export: "導出報告", + }, project_performance_test: { name: "測試", read: "查詢測試",