From: 刘洪青 Date: Fri, 24 Sep 2021 08:55:23 +0000 (+0800) Subject: fix: 补充初始化 数据脚本 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=cfdbda17d05e55b42486fe2591b414e0ee88444d;p=institute%2Fdeploy-authx-service.git fix: 补充初始化 数据脚本 --- diff --git a/deploy-manifests/k8s-rancher/1.authx-service/10.0.init.sql b/deploy-manifests/k8s-rancher/1.authx-service/10.0.init.sql index 3298454..371d490 100644 --- a/deploy-manifests/k8s-rancher/1.authx-service/10.0.init.sql +++ b/deploy-manifests/k8s-rancher/1.authx-service/10.0.init.sql @@ -313,3 +313,30 @@ where (ID in ('40000', '40900') or ID='1') commit; + +-- V1.4,初始数据脚本 + +update TB_MGT_PERMISSION +set CODE='logManagement', URL='/cas-server/logManagement' +where ID='22000' +; + +commit; + + +-- 注意 +update TB_MGT_PERMISSION + set LFT = LFT+2 +where LFT>=45 +; + +update TB_MGT_PERMISSION + set RGT = RGT+2 +where RGT>=45 +; + +insert into TB_MGT_PERMISSION (ID, DELETED, CODE, NAME, STATUS, TYPE_, ICON, URL, APPLICATION_ID, PARENT_ID, ORDER_, LEVEL_, LFT, RGT) +values ('21100', 0, 'twoFactorAuth', '双因子认证', '1', '2', 'su-icon-test', '/cas-server/twoFactorAuth', '10', '20000', 21100, 2, 45, 46); + +commit; +