LibreChat/api/server/services/Files
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
..
Audio 🧠 feat: User Memories for Conversational Context (#7760) 2025-06-07 18:52:22 -04:00
Azure 🧑‍💻 fix: Agents Config Defaults and Avatar Uploads Across File Strategies (#7814) 2025-06-10 09:53:15 -04:00
Code refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
Firebase 🧑‍💻 fix: Agents Config Defaults and Avatar Uploads Across File Strategies (#7814) 2025-06-10 09:53:15 -04:00
images 👁️ feat: Azure Mistral OCR Strategy (#7888) 2025-06-13 15:14:57 -04:00
Local 🐛 fix: RAG API failing with OPENID_REUSE_TOKENS Enabled (#8090) 2025-06-26 19:10:21 -04:00
OpenAI 🔧 fix: File Deletion for Azure Assistants API (#7466) 2025-05-20 08:37:39 -04:00
S3 🧑‍💻 fix: Agents Config Defaults and Avatar Uploads Across File Strategies (#7814) 2025-06-10 09:53:15 -04:00
VectorDB 🐛 fix: RAG API failing with OPENID_REUSE_TOKENS Enabled (#8090) 2025-06-26 19:10:21 -04:00
index.js refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
permissions.js refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
process.js 📂 fix: Prevent Null Reference Errors in File Process (#8084) 2025-06-26 18:51:35 -04:00
processFiles.test.js 📂 fix: Prevent Null Reference Errors in File Process (#8084) 2025-06-26 18:51:35 -04:00
strategies.js 🗒️ feat: Add Google Vertex AI Mistral OCR Strategy (#8125) 2025-06-28 13:26:03 -04:00