LibreChat/api/server/routes/files
Danny Avila 35c66b39c8
refactor: Implement permission checks for file access via agents
- Updated `hasAccessToFilesViaAgent` to utilize permission checks for VIEW and EDIT access.
- Replaced project-based access validation with permission-based checks.
- Enhanced tests to cover new permission logic and ensure proper access control for files associated with agents.
- Cleaned up imports and initialized models in test files for consistency.
2025-07-19 18:42:53 -04:00
..
speech 🛡️ fix: Enhance File Upload Security & Error Handling (#4705) 2024-11-12 16:41:04 -05:00
avatar.js 🛡️ fix: Enhance File Upload Security & Error Handling (#4705) 2024-11-12 16:41:04 -05:00
files.agents.test.js refactor: Implement permission checks for file access via agents 2025-07-19 18:42:53 -04:00
files.js refactor: Implement permission checks for file access via agents 2025-07-19 18:42:53 -04:00
files.test.js refactor: Implement permission checks for file access via agents 2025-07-19 18:42:53 -04:00
images.js 🎉 feat: Code Interpreter API and Agents Release (#4860) 2024-12-04 15:48:13 -05:00
index.js 🛡️ fix: Enhance File Upload Security & Error Handling (#4705) 2024-11-12 16:41:04 -05:00
multer.js 🧠 feat: User Memories for Conversational Context (#7760) 2025-06-07 18:52:22 -04:00
multer.spec.js 💻 ci: Make Unit Tests Pass on MacOS (#8165) 2025-07-01 09:20:33 -04:00