From a4b1fd7963d5866665c937c804d3b076ce62a5b0 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 23 Jul 2024 11:47:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=BB=98=E8=AE=A4=E7=AE=A1=E7=90=86=E5=91=98=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E6=B2=A1=E6=9C=89=E5=88=9B=E5=BB=BA=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/backend/src/main/resources/db/migration/V69__1.18.24.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/backend/src/main/resources/db/migration/V69__1.18.24.sql b/core/backend/src/main/resources/db/migration/V69__1.18.24.sql index 67a4e55db8..54ebd8e5cb 100644 --- a/core/backend/src/main/resources/db/migration/V69__1.18.24.sql +++ b/core/backend/src/main/resources/db/migration/V69__1.18.24.sql @@ -1,3 +1,5 @@ +delete from sys_auth_detail where auth_id in(select id from sys_auth where auth_target = 1 and auth_target_type ='role' and auth_source in ('panel_list','default_panel')); +delete from sys_auth where auth_target = 1 and auth_target_type ='role' and auth_source in ('panel_list','default_panel'); INSERT INTO `sys_auth` (`id`, `auth_source`, `auth_source_type`, `auth_target`, `auth_target_type`, `auth_time`, `auth_details`, `auth_user`, `update_time`, `copy_from`, `copy_id`) VALUES ('708f0fc5-5377-4cc2-9e3a-d7bd065a8810', 'default_panel', 'panel', '1', 'role', 1721702793282, NULL, 'admin', NULL, NULL, NULL); INSERT INTO `sys_auth` (`id`, `auth_source`, `auth_source_type`, `auth_target`, `auth_target_type`, `auth_time`, `auth_details`, `auth_user`, `update_time`, `copy_from`, `copy_id`) VALUES ('ebce2615-0649-4c22-811b-1a3d11eb3b03', 'panel_list', 'panel', '1', 'role', 1721702794849, NULL, 'admin', NULL, NULL, NULL); INSERT INTO `sys_auth_detail` (`id`, `auth_id`, `privilege_name`, `privilege_type`, `privilege_value`, `privilege_extend`, `remark`, `create_user`, `create_time`, `update_time`, `copy_from`, `copy_id`) VALUES ('c5880b63-489d-11ef-9fb9-0242ac110002', '708f0fc5-5377-4cc2-9e3a-d7bd065a8810', 'i18n_auth_export', 3, 1, 'export', '基础权限-导出', 'admin', 1721702793000, NULL, NULL, NULL);