The "add to knowledge base" action on the chat page opens the manual editor, whose target picker was populated only from listKnowledgeBases() — the caller's own KBs. A user who was granted editor access to a shared KB therefore could not select it, even though the backend (CreateManualKnowledge) accepts editor/admin permission. Also fetch shared knowledge bases and merge those the user can write to (editor/admin) into the picker, de-duplicated against owned KBs and limited to document-type KBs. Viewer-only shares stay excluded. Fixes #1689 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| packages | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| docker-entrypoint.sh | ||
| embed.html | ||
| env.d.ts | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| package.json.md5 | ||
| pnpm-workspace.yaml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||