fix(项目管理): 初始化项目配置任务中心权限

This commit is contained in:
song-cc-rock 2024-10-25 14:38:22 +08:00 committed by Craftsman
parent 8b44a4ecca
commit f906320ed9
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ WHERE urp.permission_id = 'SYSTEM_TASK_CENTER:READ+STOP'
-- 初始化项目管理员定义分享权限 -- 初始化项目管理员定义分享权限
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_API_DEFINITION:READ+SHARE'); INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_API_DEFINITION:READ+SHARE');
-- 初始化项目管理员任务中心权限
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_APPLICATION_TASK:READ');
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_APPLICATION_TASK:UPDATE');
-- set innodb lock wait timeout to default -- set innodb lock wait timeout to default
SET SESSION innodb_lock_wait_timeout = DEFAULT; SET SESSION innodb_lock_wait_timeout = DEFAULT;