fix(pl): 将证书齐备改为独立菜单权限,避免取消授权后仍随计划段次用证显示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-06 17:39:18 +08:00
1 parent 421332cad4
commit 13ed7f5be0
8 files changed
+129 -7

No files matched your search

@@ -0,0 +1,15 @@
-- 「证书齐备」与「计划段次用证」拆开权限码。
-- 仍勾选该菜单的角色自动获得 pl:cert-ready:list;已解除授权的角色不会恢复。
-- MySQL 5.7。可重复执行。仅 shanxia2.0。
SET NAMES utf8mb4;
UPDATE sys_menu
SET perms='pl:cert-ready:list',
update_by='system',
update_time=NOW()
WHERE id='PL_CERT_READY'
AND tenant_no='shanxia2.0'
AND del_flag=0
AND menu_type='C'
AND path='cert-ready'
AND perms='pl:plan-cert:list';