Org-shared and agent-visible knowledge bases store images under the owner tenant's storage path, which the tenant-scoped /files route rejects for borrowing tenants. Add GET /api/v1/knowledge-bases/:id/files gated by RequireKBAccess and route frontend image hydration through it when kbId is known. |
||
|---|---|---|
| .. | ||
| rbac.go | ||
| rbac_selfcheck_test.go | ||
| router.go | ||
| router_api_key_capabilities_test.go | ||
| router_api_key_management_test.go | ||
| router_files_test.go | ||
| router_presigned_test.go | ||
| router_wiki_test.go | ||
| sync_task.go | ||
| task.go | ||
| task_inspector.go | ||