LightRAG/docs/diff_hku
Raphaël MANSUY a6aa073d70 feat(webui): Add single-tenant/multi-tenant mode support
- Add LIGHTRAG_MULTI_TENANT env var to control multi-tenant mode
- Add multi_tenant_enabled flag to /auth-status and /health endpoints
- Update LoginPage to auto-redirect in single-tenant mode
- Update App.tsx to set default tenant/KB in single-tenant mode
- Update TenantSelector to skip API calls in single-tenant mode
- Update SiteHeader to hide tenant selector in single-tenant mode
- Update useTenantInitialization hook to skip in single-tenant mode
- Update AuthStore with multiTenantEnabled state

In single-tenant mode (default):
- No tenant selection UI shown
- Auto-creates default tenant and KB context
- Direct access to all WebUI features

In multi-tenant mode (LIGHTRAG_MULTI_TENANT=true):
- Shows tenant/KB selection UI
- Requires tenant API routes to be configured
2025-12-04 20:37:06 +08:00
..
waves fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
cherry_pick_all.md fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
cherry_pick_ordered.csv fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
cherry_pick_ordered_summary.md fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
cherry_pick_top10.md fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
index.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
MERGE_READINESS.md feat(webui): Add single-tenant/multi-tenant mode support 2025-12-04 20:37:06 +08:00
migration_guide.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
security_audit.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
summary.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
technical_diffs.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
tests_needed.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
unmerged_upstream.md Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
unmerged_upstream_commits.txt Add logs for recent actions and decisions regarding upstream changes 2025-12-04 18:28:44 +08:00
unmerged_upstream_mapping.csv fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
unmerged_upstream_mapping_summary.md fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
wave_0.csv cherry-pick dde728a3 2025-12-04 19:17:42 +08:00
wave_1.csv cherry-pick dde728a3 2025-12-04 19:17:42 +08:00
wave_2.csv cherry-pick dde728a3 2025-12-04 19:17:42 +08:00
wave_3.csv cherry-pick dde728a3 2025-12-04 19:17:42 +08:00
wave_4.csv cherry-pick dde728a3 2025-12-04 19:17:42 +08:00