iven
633bf8c62d
feat(auth): data_scope 行级数据权限 — DataScope 枚举 + 中间件加载
- TenantContext 新增 permission_data_scopes: HashMap<String, DataScope>
- DataScope 枚举: All/SelfOnly/Department/DepartmentTree
- JWT 中间件查询 role_permissions.data_scope 填充到上下文
- rbac::get_data_scope() 供 service 层按权限获取数据范围
- 默认 All,完全向后兼容现有行为
2026-04-27 19:31:19 +08:00
..
2026-04-26 00:28:31 +08:00
2026-04-27 19:31:19 +08:00
2026-04-26 19:52:42 +08:00
2026-04-27 19:31:19 +08:00
2026-04-27 18:01:05 +08:00
2026-04-27 14:51:40 +08:00
2026-04-26 19:52:42 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-27 12:34:52 +08:00
2026-04-15 00:49:20 +08:00
2026-04-27 18:52:03 +08:00
2026-04-27 18:01:05 +08:00