fix:修复评委菜单
This commit is contained in:
parent
565cfc4321
commit
dfccb07f5a
@ -68,6 +68,11 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
||||
if (!isSuperAdmin && roles != null && roles.contains(RoleConstants.JUDGE)) {
|
||||
tenantMenuIds.addAll(collectJudgePortalMenuIds(allMenus));
|
||||
}
|
||||
// 机构租户纯评委:仅保留「我的评审」菜单树,不包含租户端工作台/数据统计/活动管理等(与 docs/design/menu-config.md 一致)
|
||||
if (!isSuperAdmin && shouldHideTenantJudgeManagementMenuForJudge(roles)) {
|
||||
tenantMenuIds.clear();
|
||||
tenantMenuIds.addAll(collectJudgePortalMenuIds(allMenus));
|
||||
}
|
||||
|
||||
if (isSuperAdmin) {
|
||||
// 超管:按租户菜单过滤,但不做权限码过滤
|
||||
|
||||
Loading…
Reference in New Issue
Block a user