LibreChat/api/server/services/Files/Code
Danny Avila 39f4e725e5
refactor: Implement file access filtering based on agent permissions
- 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.
2025-07-19 18:42:54 -04:00
..
crud.js 👁️ feat: Azure Mistral OCR Strategy (#7888) 2025-06-13 15:14:57 -04:00
index.js 🚧 chore: merge latest dev build (#4288) 2024-09-30 17:17:57 -04:00
process.js refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00