diff --git a/backend/src/main/resources/db/migration/V68__modify_api_test_case.sql b/backend/src/main/resources/db/migration/V68__modify_api_test_case.sql index e7a54f52c6..92d68de76e 100644 --- a/backend/src/main/resources/db/migration/V68__modify_api_test_case.sql +++ b/backend/src/main/resources/db/migration/V68__modify_api_test_case.sql @@ -26,6 +26,3 @@ INNER JOIN ( WHERE tt.id = tc.id; --- 场景批量复制 -INSERT INTO user_group_permission (id, group_id, permission_id, module_id) -VALUES (UUID(), 'project_admin', 'PROJECT_API_SCENARIO:READ+BATCH_COPY', 'PROJECT_API_SCENARIO'); \ No newline at end of file diff --git a/backend/src/main/resources/db/migration/V89__v1.10.4_release.sql b/backend/src/main/resources/db/migration/V89__v1.10.4_release.sql index 93e638d758..2607212569 100644 --- a/backend/src/main/resources/db/migration/V89__v1.10.4_release.sql +++ b/backend/src/main/resources/db/migration/V89__v1.10.4_release.sql @@ -25,4 +25,7 @@ VALUES ('7a23d4db-9909-438d-9e36-58e432c8c4ae','ISSUE_SYNC','CRON','0 0 3 * * ?' -- 批量创建性能测试 INSERT INTO user_group_permission (id, group_id, permission_id, module_id) -VALUES (UUID(), 'project_admin', 'PROJECT_API_SCENARIO:READ+CREATE_PERFORMANCE_BATCH', 'PROJECT_API_SCENARIO'); \ No newline at end of file +VALUES (UUID(), 'project_admin', 'PROJECT_API_SCENARIO:READ+CREATE_PERFORMANCE_BATCH', 'PROJECT_API_SCENARIO'); +-- 场景批量复制 +INSERT INTO user_group_permission (id, group_id, permission_id, module_id) +VALUES (UUID(), 'project_admin', 'PROJECT_API_SCENARIO:READ+BATCH_COPY', 'PROJECT_API_SCENARIO'); \ No newline at end of file