mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 15:48:51 +01:00
- Added permission checks for agent file uploads to ensure only authorized users can upload files. - Admin users bypass permission checks, while other users must be the agent author or have EDIT permissions. - Enhanced error handling for non-existent agents and insufficient permissions. - Updated tests to cover various scenarios for file uploads, including permission validation and message attachments. |
||
|---|---|---|
| .. | ||
| speech | ||
| avatar.js | ||
| files.agents.test.js | ||
| files.js | ||
| files.test.js | ||
| images.js | ||
| index.js | ||
| multer.js | ||
| multer.spec.js | ||