-- add permission nodes for permissions/dicts/params pages
INSERT IGNORE INTO sys_permission (perm_id, parent_id, name, code, perm_type, level, path, component, icon, sort_order, is_visible, status, description, meta)
VALUES
  (21, 4, '权限管理', 'system.permissions', 'menu', 2, '/system/permissions', 'PermissionTree', 'lock', 5, 1, 1, '二级菜单', NULL),
  (22, 4, '码表管理', 'system.dicts', 'menu', 2, '/system/dicts', 'DictManage', 'dict', 6, 1, 1, '二级菜单', NULL),
  (23, 4, '系统参数', 'system.params', 'menu', 2, '/system/params', 'ParamManage', 'param', 7, 1, 1, '二级菜单', NULL);

-- NOTE: 不自动给角色授权权限，请在角色权限分配页面手动分配
