refactor(UI测试): 增加基本权限设置
This commit is contained in:
parent
089264666e
commit
b2b2e50b57
|
@ -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');
|
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)
|
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||||
VALUES (UUID(), 'project_admin', 'PROJECT_UI_SCENARIO:READ+EDIT', 'PROJECT_UI_SCENARIO');
|
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');
|
||||||
|
|
||||||
|
|
|
@ -844,6 +844,24 @@
|
||||||
"resourceId": "PROJECT_UI_SCENARIO",
|
"resourceId": "PROJECT_UI_SCENARIO",
|
||||||
"license": true
|
"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",
|
"id": "PROJECT_PERFORMANCE_TEST:READ",
|
||||||
"name": "permission.project_performance_test.read",
|
"name": "permission.project_performance_test.read",
|
||||||
|
@ -1189,6 +1207,10 @@
|
||||||
"name": "permission.project_ui_scenario.name",
|
"name": "permission.project_ui_scenario.name",
|
||||||
"license": true
|
"license": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "PROJECT_UI_REPORT",
|
||||||
|
"name": "permission.project_ui_report.name"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "PROJECT_PERFORMANCE_TEST",
|
"id": "PROJECT_PERFORMANCE_TEST",
|
||||||
"name": "permission.project_performance_test.name"
|
"name": "permission.project_performance_test.name"
|
||||||
|
|
|
@ -3043,6 +3043,12 @@ export default {
|
||||||
delete: "DELETE",
|
delete: "DELETE",
|
||||||
export: "EXPORT",
|
export: "EXPORT",
|
||||||
},
|
},
|
||||||
|
project_ui_report: {
|
||||||
|
name: "Report",
|
||||||
|
read: "READ",
|
||||||
|
delete: "DELETE",
|
||||||
|
export: "EXPORT",
|
||||||
|
},
|
||||||
project_performance_test: {
|
project_performance_test: {
|
||||||
name: "Test",
|
name: "Test",
|
||||||
read: "READ",
|
read: "READ",
|
||||||
|
|
|
@ -3047,6 +3047,12 @@ export default {
|
||||||
delete: "删除报告",
|
delete: "删除报告",
|
||||||
export: "导出报告",
|
export: "导出报告",
|
||||||
},
|
},
|
||||||
|
project_ui_report: {
|
||||||
|
name: "测试报告",
|
||||||
|
read: "查询报告",
|
||||||
|
delete: "删除报告",
|
||||||
|
export: "导出报告",
|
||||||
|
},
|
||||||
project_performance_test: {
|
project_performance_test: {
|
||||||
name: "测试",
|
name: "测试",
|
||||||
read: "查询测试",
|
read: "查询测试",
|
||||||
|
|
|
@ -3046,6 +3046,12 @@ export default {
|
||||||
delete: "刪除報告",
|
delete: "刪除報告",
|
||||||
export: "導出報告",
|
export: "導出報告",
|
||||||
},
|
},
|
||||||
|
project_ui_report: {
|
||||||
|
name: "測試報告",
|
||||||
|
read: "查詢報告",
|
||||||
|
delete: "刪除報告",
|
||||||
|
export: "導出報告",
|
||||||
|
},
|
||||||
project_performance_test: {
|
project_performance_test: {
|
||||||
name: "測試",
|
name: "測試",
|
||||||
read: "查詢測試",
|
read: "查詢測試",
|
||||||
|
|
Loading…
Reference in New Issue