mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +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. |
||
|---|---|---|
| .. | ||
| speech | ||
| avatar.js | ||
| files.agents.test.js | ||
| files.js | ||
| files.test.js | ||
| images.js | ||
| index.js | ||
| multer.js | ||
| multer.spec.js | ||