WeKnora/internal/handler
wizardchen e595e9345e feat: implement tenant access authorization in TenantHandler
- Added `authorizeTenantAccess` method to check user permissions for accessing specific tenants.
- Integrated authorization checks in `GetTenant`, `UpdateTenant`, and `DeleteTenant` methods to enforce access control.
- Updated `ListTenants` method to ensure proper authentication before returning tenant data.

This update enhances security by ensuring that only authorized users can access or modify tenant information.
2026-03-02 21:21:49 +08:00
..
session feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
auth.go feat: 新增环境变量DISABLE_REGISTRATION控制用户注册开关 2025-12-22 15:01:09 +08:00
chunk.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
custom_agent.go feat(agent): enhance agent and skill management features 2026-02-09 11:40:25 +08:00
evaluation.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
faq.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
initialization.go feat: introduce storage provider configuration and enhance backward compatibility 2026-03-02 21:21:49 +08:00
knowledge.go feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
knowledgebase.go feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
mcp_service.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
message.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
model.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
organization.go feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
skill_handler.go feat: update sandbox service configuration in Docker Compose files 2026-02-04 21:34:07 +08:00
system.go feat: enhance system information display with database version 2026-03-02 21:21:49 +08:00
tag.go feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
tenant.go feat: implement tenant access authorization in TenantHandler 2026-03-02 21:21:49 +08:00
web_search.go refactor: web search provider registry pattern 2026-01-20 18:19:44 +08:00