mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-20 09:24:10 +01:00
🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804)
WIP: pre-granular-permissions commit
feat: Add category and support contact fields to Agent schema and UI components
Revert "feat: Add category and support contact fields to Agent schema and UI components"
This reverts commit c43a52b4c9.
Fix: Update import for renderHook in useAgentCategories.spec.tsx
fix: Update icon rendering in AgentCategoryDisplay tests to use empty spans
refactor: Improve category synchronization logic and clean up AgentConfig component
refactor: Remove unused UI flow translations from translation.json
feat: agent marketplace features
🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804)
This commit is contained in:
parent
1fe977e48f
commit
2f3bbc3b34
143 changed files with 17590 additions and 629 deletions
9
packages/data-schemas/src/models/aclEntry.ts
Normal file
9
packages/data-schemas/src/models/aclEntry.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import aclEntrySchema from '~/schema/aclEntry';
|
||||
import type * as t from '~/types';
|
||||
|
||||
/**
|
||||
* Creates or returns the AclEntry model using the provided mongoose instance and schema
|
||||
*/
|
||||
export function createAclEntryModel(mongoose: typeof import('mongoose')) {
|
||||
return mongoose.models.AclEntry || mongoose.model<t.IAclEntry>('AclEntry', aclEntrySchema);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue