mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +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
aec1777a90
commit
28d9deed0a
143 changed files with 17590 additions and 629 deletions
|
|
@ -1,5 +1,11 @@
|
|||
import { useMemo } from 'react';
|
||||
import { MessageSquareQuote, ArrowRightToLine, Settings2, Database, Bookmark } from 'lucide-react';
|
||||
import {
|
||||
MessageSquareQuote,
|
||||
ArrowRightToLine,
|
||||
Settings2, Database,
|
||||
Bookmark,
|
||||
LayoutGrid,
|
||||
} from 'lucide-react';
|
||||
import {
|
||||
isAssistantsEndpoint,
|
||||
isAgentsEndpoint,
|
||||
|
|
@ -21,6 +27,7 @@ import FilesPanel from '~/components/SidePanel/Files/Panel';
|
|||
import MCPPanel from '~/components/SidePanel/MCP/MCPPanel';
|
||||
import { useGetStartupConfig } from '~/data-provider';
|
||||
import { useHasAccess } from '~/hooks';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
export default function useSideNavLinks({
|
||||
hidePanel,
|
||||
|
|
@ -37,6 +44,7 @@ export default function useSideNavLinks({
|
|||
interfaceConfig: Partial<TInterfaceConfig>;
|
||||
endpointsConfig: TEndpointsConfig;
|
||||
}) {
|
||||
const navigate = useNavigate();
|
||||
const hasAccessToPrompts = useHasAccess({
|
||||
permissionType: PermissionTypes.PROMPTS,
|
||||
permission: Permissions.USE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue