WeKnora/internal/application/repository
wizardchen 602086d884 feat: implement tenant isolation for knowledge base retrieval
- Added GetKnowledgeBaseByIDAndTenant method to enforce tenant isolation when retrieving knowledge bases by ID.
- Updated CopyKnowledgeBase method to use tenant-scoped retrieval, preventing cross-tenant cloning.
- Enhanced error handling in the KnowledgeBaseHandler to validate tenant ownership for source and target knowledge bases during copy operations.
2026-02-06 19:55:29 +08:00
..
retriever feat: 批量更新tag时更新索引字段 2025-12-30 19:44:53 +08:00
chunk.go feat: 为 FAQ 和标签引入 seq_id 支持 2026-01-14 17:13:44 +08:00
custom_agent.go refactor: 调整智能体配置,增强智能体选择与状态管理 2025-12-26 21:31:02 +08:00
knowledge.go feat: 支持删除文档类型标签 2026-01-15 19:38:16 +08:00
knowledgebase.go feat: implement tenant isolation for knowledge base retrieval 2026-02-06 19:55:29 +08:00
mcp_service.go refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure 2025-11-28 16:17:52 +08:00
message.go init commit 2025-08-05 15:08:07 +08:00
model.go refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure 2025-11-28 16:17:52 +08:00
session.go refactor: Update tenant ID handling across the application 2025-11-25 16:30:54 +08:00
tag.go perf: batch tag reference counting 2026-01-20 18:19:44 +08:00
tenant.go feat: 支持租户ID和关键词同时搜索 2026-01-14 17:09:19 +08:00
user.go feat: Qdrant Vector Search support 2025-11-27 11:17:23 +08:00