LibreChat/api/server
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
..
controllers chore: fix tests, remove unnecessary imports 2025-07-19 18:42:52 -04:00
middleware chore: fix tests, remove unnecessary imports 2025-07-19 18:42:52 -04:00
routes refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
services refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
utils 🗂️ fix: Disable express-static-gzip for Uploaded Images (#8307) 2025-07-11 16:51:53 -04:00
cleanup.js 👤 feat: User Placeholder Variables for Custom Endpoint Headers (#7993) 2025-06-23 12:39:27 -04:00
index.js 🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804) 2025-07-19 18:42:50 -04:00
index.spec.js 🥅 refactor: Express App default Error Handling with ErrorController (#8249) 2025-07-04 13:24:57 -04:00
socialLogins.js 🏦 refactor: Centralize Caching & Redis Key Prefixing (#8457) 2025-07-15 18:24:31 -04:00