- Added checks to ensure that the tenant ID matches between data sources and knowledge bases during creation and updates. - Implemented ownership verification for data sources and knowledge bases in the DataSourceHandler, enhancing security and access control. - Refactored data source retrieval methods to centralize ownership validation, improving code maintainability and clarity. - Updated error handling to provide more informative responses when access is denied or when knowledge bases are not found. |
||
|---|---|---|
| .. | ||
| session | ||
| auth.go | ||
| chunk.go | ||
| custom_agent.go | ||
| datasource.go | ||
| evaluation.go | ||
| faq.go | ||
| im.go | ||
| initialization.go | ||
| knowledge.go | ||
| knowledgebase.go | ||
| mcp_service.go | ||
| message.go | ||
| model.go | ||
| organization.go | ||
| skill_handler.go | ||
| system.go | ||
| tag.go | ||
| tenant.go | ||
| web_search.go | ||