LibreChat/api/server
Danny Avila d79c5d1d21
🔧 refactor: Add and use PrincipalType Enum
- Replaced string literals for principal types ('user', 'group', 'public') with the new PrincipalType enum across various models, services, and tests for improved type safety and consistency.
- Updated permission handling in multiple files to utilize the PrincipalType enum, enhancing maintainability and reducing potential errors.
- Ensured all relevant tests reflect these changes to maintain coverage and functionality.
2025-08-07 02:57:08 -04:00
..
controllers 🔧 refactor: Add and use PrincipalType Enum 2025-08-07 02:57:08 -04:00
middleware 🔧 refactor: Add and use PrincipalType Enum 2025-08-07 02:57:08 -04:00
routes 🔧 refactor: Add and use PrincipalType Enum 2025-08-07 02:57:08 -04:00
services 🔧 refactor: Add and use PrincipalType Enum 2025-08-07 02:57:08 -04:00
utils 🔒 feat: Implement Granular File Storage Strategies and Access Control Middleware 2025-08-07 02:57:05 -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-08-07 02:57:00 -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