Skip to content

Commit

Permalink
feature: update security resource web
Browse files Browse the repository at this point in the history
  • Loading branch information
kalencaya committed Apr 20, 2024
1 parent 16bd6d2 commit aa91829
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions tools/docker/mysql/init.d/scaleph-security-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ create table sec_resource_web
id bigint not null auto_increment comment '自增主键',
type varchar(128) not null comment '资源类型。导航,菜单,页面,按钮',
pid bigint not null default '0' comment '上级资源id',
menu_name varchar(128) comment '名称',
name varchar(128) comment '前端目录',
name varchar(128) comment '名称',
menu_name varchar(128) comment '前端目录',
path varchar(128) comment '前端路由路径',
redirect varchar(128) comment '前端重定向路径',
layout tinyint comment '前端全局布局显示。只在一级生效',
Expand Down Expand Up @@ -350,6 +350,31 @@ INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`,
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (28, '2', 26, '调度', NULL, '/admin/workflow/schedule', NULL, 1, NULL, './Workflow/Schedule', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (29, '2', 21, '数据字典', 'dict', '/admin/dict', NULL, 1, 'TableOutlined', './Admin/Dict', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (30, '2', 21, '系统设置', 'setting', '/admin/setting', NULL, 1, 'SettingOutlined', './Admin/Setting', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (31, '1', 14, '数据源', 'data-source', '/metadata/data-source', NULL, 1, 'GroupOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (32, '1', 14, 'Gravitino', 'gravitino', '/metadata/gravitino', NULL, 1, 'GroupOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (33, '2', 31, '数据源信息', 'info', '/metadata/data-source/info', NULL, 1, 'GroupOutlined', './Metadata/DataSource/Info', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (34, '2', 31, '数据源创建', NULL, '/metadata/data-source/info/stepForms', NULL, 0, NULL, './Metadata/DataSource/Info/StepForms', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (35, '2', 32, 'Catalog', 'catalog', '/metadata/gravitino/catelog', NULL, 1, 'GroupOutlined', './Metadata/Gravitino/Catalog', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (36, '1', 42, '引擎管理', 'project.engine', '/workspace/engine', NULL, 1, 'DeploymentUnitOutlined', '', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (37, '1', 42, '数据集成', 'project.data-integration', '/workspace/data-integration', NULL, 1, 'DeploymentUnitOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (38, '1', 42, '数据开发', 'project.data-develop', '/workspace/data-develop', NULL, 1, 'DeploymentUnitOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (39, '1', 42, 'DAG 调度', 'project.dag-scheduler', '/workspace/dag-scheduler', NULL, 1, 'DeploymentUnitOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (40, '1', 42, '数据服务', 'project.data-service', '/workspace/data-service', NULL, 1, 'SolutionOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (41, '1', 42, '运维中心', 'project.operation', '/workspace/operation', NULL, 1, 'SolutionOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (42, '1', 0, '工作空间', NULL, '/workspace', NULL, 1, NULL, NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (43, '1', 36, '数据湖', 'lake', '/workspace/engine/lake', NULL, 1, 'ApartmentOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (44, '1', 36, 'OLAP引擎', 'olap', '/workspace/engine/olap', NULL, 1, 'ApartmentOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (45, '1', 36, '计算引擎', 'compute', '/workspace/engine/compute', NULL, 1, 'ApartmentOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (46, '2', 43, 'Iceberg', 'iceberg', '/workspace/engine/lake/iceberg', NULL, 1, 'ApartmentOutlined', './Project/Workspace/Engine/Lake/Iceberg', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (47, '2', 43, 'Paimon', 'paimon', '/workspace/engine/lake/paimon', NULL, 1, 'ApartmentOutlined', './Project/Workspace/Engine/Lake/Paimon', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (48, '1', 44, 'Doris', 'doris', '/workspace/engine/olap/doris', NULL, 1, 'ApartmentOutlined', NULL, NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (49, '2', 44, 'StarRocks', 'starrocks', '/workspace/engine/olap/starrocks', NULL, 1, 'ApartmentOutlined', './Project/Workspace/Engine/OLAP/StarRocks', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (50, '2', 48, '部署模板', 'template', '/workspace/engine/olap/doris/template', NULL, 1, NULL, './Project/Workspace/Engine/OLAP/Doris/OperatorTemplate', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (51, '2', 48, '部署模板创建', NULL, '/workspace/engine/olap/doris/template/steps', NULL, 0, NULL, './Project/Workspace/Engine/OLAP/Doris/OperatorTemplate/Steps', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (52, '2', 48, '部署模板详情', NULL, '/workspace/engine/olap/doris/template/detail', NULL, 0, NULL, './Project/Workspace/Engine/OLAP/Doris/OperatorTemplate/Detail', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (53, '2', 48, '部署实例', 'instance', '/workspace/engine/olap/doris/instance', NULL, 1, NULL, './Project/Workspace/Engine/OLAP/Doris/OperatorInstance', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (54, '2', 48, '部署实例创建', NULL, '/workspace/engine/olap/doris/instance/steps', NULL, 0, NULL, './Project/Workspace/Engine/OLAP/Doris/OperatorInstance/Steps', NULL, 'sys', 'sys');
INSERT INTO `sec_resource_web`(`id`, `type`, `pid`, `name`, `menu_name`, `path`, `redirect`, `layout`, `icon`, `component`, `remark`, `creator`, `editor`) VALUES (55, '2', 48, '部署实例详情', NULL, '/workspace/engine/olap/doris/instance/detail', NULL, 0, NULL, './Project/Workspace/Engine/OLAP/Doris/OperatorInstance/Detail', NULL, 'sys', 'sys');

drop table if exists sec_resource_web_role;
create table sec_resource_web_role
Expand Down

0 comments on commit aa91829

Please sign in to comment.