fix(插件管理): 默认插件管理增加系统管理员权限
This commit is contained in:
parent
0b157a3f54
commit
1b5c129b3b
|
@ -11,5 +11,11 @@ values (UUID(), 'ws_admin', 'WORKSPACE_PROJECT_ENVIRONMENT:READ+DELETE_GROUP', '
|
||||||
delete
|
delete
|
||||||
from user_group_permission
|
from user_group_permission
|
||||||
where permission_id = 'WORKSPACE_TEMPLATE:READ+REPORT_TEMPLATE';
|
where permission_id = 'WORKSPACE_TEMPLATE:READ+REPORT_TEMPLATE';
|
||||||
|
-- admin
|
||||||
|
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||||
|
values (UUID(), 'admin', 'SYSTEM_PLUGIN:READ', 'SYSTEM_PLUGIN');
|
||||||
|
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||||
|
values (UUID(), 'admin', 'SYSTEM_PLUGIN:UPLOAD', 'SYSTEM_PLUGIN');
|
||||||
|
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||||
|
values (UUID(), 'admin', 'SYSTEM_PLUGIN:DEL', 'SYSTEM_PLUGIN');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue