feat: 后管菜单更名「外观专利数据库」——V191 改 columns.name(V190 已上产不可回改);routes 标题/页头 h3/403 文案同步;挂载测试断言随改

This commit is contained in:
2026-11-10 10:31:06 +08:00
parent 264db52b84
commit 9acb221152
5 changed files with 48 additions and 5 deletions
@@ -81,11 +81,11 @@ public class AdminAppearancePatentCleanItemsController {
private RequestOperator requireCleanItemsAccess(HttpServletRequest request) {
AdminUserEntity operator = resolveOperator(request);
if (operator == null || operator.getId() == null || operator.getId() <= 0) {
throw new BusinessException(403, "无权访问外观专利无侵权数据");
throw new BusinessException(403, "无权访问外观专利数据库");
}
boolean superAdmin = DeviceSessionPolicy.isSuper(adminAuthSupport.currentRole(operator));
if (!superAdmin && !hasCleanItemsPermission(operator)) {
throw new BusinessException(403, "无权访问外观专利无侵权数据");
throw new BusinessException(403, "无权访问外观专利数据库");
}
return new RequestOperator(operator.getId(), superAdmin, operator);
}