mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 19:30:15 +01:00
- Replaced string literals for principal models ('User', 'Group') with the new PrincipalModel enum across various models, services, and tests to enhance type safety and consistency.
- Updated permission handling in multiple files to utilize the PrincipalModel enum, improving maintainability and reducing potential errors.
- Ensured all relevant tests reflect these changes to maintain coverage and functionality.
|
||
|---|---|---|
| .. | ||
| canAccessAgentFromBody.js | ||
| canAccessAgentResource.js | ||
| canAccessAgentResource.spec.js | ||
| canAccessPromptGroupResource.js | ||
| canAccessPromptViaGroup.js | ||
| canAccessResource.js | ||
| fileAccess.js | ||
| index.js | ||