fix(系统设置): 初始化遗漏的管理员权限

--bug=1013779 --user=李玉号
项目管理员应该全部权限都勾选上
https://www.tapd.cn/55049933/s/1173461
This commit is contained in:
shiziyuan9527 2022-06-08 11:06:33 +08:00 committed by f2c-ci-robot[bot]
parent f6dcdbe21f
commit 37612b2447
2 changed files with 4 additions and 4 deletions

View File

@ -26,6 +26,3 @@ INNER JOIN (
WHERE WHERE
tt.id = tc.id; 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');

View File

@ -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) 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'); 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');