LibreChat/api/server
Danny Avila 49d1cefe71
🔧 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-13 16:24:22 -04:00
..
controllers 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
middleware 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
routes 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
services 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
utils 🔒 feat: Implement Granular File Storage Strategies and Access Control Middleware 2025-08-13 16:24:19 -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-13 16:24:17 -04:00
index.spec.js 🔒 fix: Provider Validation for Social, OpenID, SAML, and LDAP Logins (#8999) 2025-08-11 18:51:46 -04:00
socialLogins.js 🏦 refactor: Centralize Caching & Redis Key Prefixing (#8457) 2025-07-15 18:24:31 -04:00