From cfdbda17d05e55b42486fe2591b414e0ee88444d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=88=98=E6=B4=AA=E9=9D=92?= Date: Fri, 24 Sep 2021 16:55:23 +0800 Subject: [PATCH] =?utf8?q?fix:=20=E8=A1=A5=E5=85=85=E5=88=9D=E5=A7=8B?= =?utf8?q?=E5=8C=96=20=E6=95=B0=E6=8D=AE=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../k8s-rancher/1.authx-service/10.0.init.sql | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) 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; + -- 2.17.1