The agent editor's dependency chain resolves storage engine info through editorResources.ensureStorageEngine, which awaited the admin-only tenants/kv/storage-engine-config call and the Viewer-safe status call in one Promise.all. A Contributor opening the editor got 403 on the config call (it carries integration secrets), which rejected the whole chain and skipped every dropdown population — models, knowledge bases and web search providers stayed empty, so Contributors could not create agents at all (#2991). Downgrade permission rejections on the config call to "no admin config" (the only consumer of storageConfig already tolerates null and falls back to the status list); every other failure stays fatal. The predicate lives in a dependency-free module so it is unit-testable under tsx --test like the other store helpers. |
||
|---|---|---|
| .. | ||
| packages | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| docker-entrypoint.sh | ||
| embed.html | ||
| env.d.ts | ||
| index.html | ||
| nginx-api-proxy.conf | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| package.json.md5 | ||
| pnpm-workspace.yaml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||