mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 21:58:51 +01:00
- Introduced `filterFilesByAgentAccess` function to filter files based on user access through agents. - Updated `getFiles` and `primeFiles` functions to utilize the new filtering logic. - Moved `hasAccessToFilesViaAgent` function from the File model to permission services, adjusting imports accordingly - Enhanced tests to ensure proper access control and filtering behavior for files associated with agents. |
||
|---|---|---|
| .. | ||
| Audio | ||
| Azure | ||
| Code | ||
| Firebase | ||
| images | ||
| Local | ||
| OpenAI | ||
| S3 | ||
| VectorDB | ||
| index.js | ||
| permissions.js | ||
| process.js | ||
| processFiles.test.js | ||
| strategies.js | ||