LibreChat/api
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
..
app refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
cache 🔒 fix: Address on-headers CVE-2025-7339 (#8553) 2025-07-19 13:36:59 -04:00
config 🪐 feat: MCP OAuth 2.0 Discovery Support (#7924) 2025-06-17 13:50:33 -04:00
db 🔃 refactor: Optimize MeiliSearch Sync Processing and Tracking (#7994) 2025-06-20 18:05:19 -04:00
lib/utils 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
models refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
server refactor: Implement file access filtering based on agent permissions 2025-07-19 18:42:54 -04:00
strategies 🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804) 2025-07-19 18:42:50 -04:00
test chore: Update Jest configuration and test setup for improved timeout handling 2025-07-19 18:42:53 -04:00
utils 🔑 feat: Grok 4 Pricing and Token Limits (#8395) 2025-07-11 03:24:13 -04:00
jest.config.js chore: Update Jest configuration and test setup for improved timeout handling 2025-07-19 18:42:53 -04:00
jsconfig.json feat(api): initial Redis support; fix(SearchBar): proper debounce (#1039) 2023-10-11 17:05:47 -04:00
package.json 🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804) 2025-07-19 18:42:50 -04:00
typedefs.js 🧩 fix: additionalProperties Handling and Ref Resolution in Zod Schemas (#8381) 2025-07-10 18:02:34 -04:00