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

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

View File

@ -25,3 +25,7 @@ INNER JOIN (
SET tt.last_result_id = tc.result_id
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');

View File

@ -21,3 +21,8 @@ ALTER TABLE issues ADD platform_status varchar(50) NULL COMMENT '第三方平台
-- 定时同步缺陷
INSERT INTO schedule (id,`key`,`type`,value,`group`,job,enable,resource_id,user_id,workspace_id,create_time,update_time,project_id,name)
VALUES ('7a23d4db-9909-438d-9e36-58e432c8c4ae','ISSUE_SYNC','CRON','0 0 3 * * ?','ISSUE_SYNC','io.metersphere.job.sechedule.IssueSyncJob',1,'system','admin','system',unix_timestamp() * 1000,unix_timestamp() * 1000,'system','ISSUE_SYNC');
-- 批量创建性能测试
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');