MSuMshk
|
5a26f82628
|
refactor: 将 Permission 和 MenuDefinition 改为系统级实体
- Permission 和 MenuDefinition 改为继承 AuditableEntityBase(移除 TenantId)
- 添加 PortalType 枚举区分平台端/租户端
- Repository 使用 IgnoreQueryFilters() 查询系统级数据
- 更新所有相关 Handler 和 DTO,移除 TenantId 引用
- 与 AdminApi 保持一致的设计
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-03 14:49:27 +08:00 |
|
MSuMshk
|
e88c41c11e
|
feat: 实现动态租户解析与移除菜单回退逻辑
1. 新增 ITenantCodeResolver 接口和 DatabaseTenantCodeResolver 实现
2. 修改 TenantResolutionMiddleware 支持从数据库动态解析租户编码
3. ITenantRepository 新增 FindIdByCodeAsync 方法
4. 移除 EfMenuRepository 中危险的系统菜单回退逻辑
5. 调整服务注册顺序确保依赖正确注入
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-03 13:05:52 +08:00 |
|
root
|
cf697b3889
|
fix: 统一逐租户上下文执行
|
2026-01-30 01:04:51 +00:00 |
|
root
|
1ee9aa8435
|
refactor: 移除菜单平台根租户读取
|
2026-01-29 13:47:32 +00:00 |
|
|
|
dd58cc2ed0
|
fix: 菜单固定为全局
|
2025-12-27 16:47:15 +08:00 |
|
|
|
a1499fc1a1
|
feat: add admin menu management crud
|
2025-12-05 21:16:07 +08:00 |
|