Edit
diff --git a/surfsense_web/components/settings/roles-manager.tsx b/surfsense_web/components/settings/roles-manager.tsx
index 7f59ecd66..e7dadc20f 100644
--- a/surfsense_web/components/settings/roles-manager.tsx
+++ b/surfsense_web/components/settings/roles-manager.tsx
@@ -4,21 +4,25 @@ import { useQuery } from "@tanstack/react-query";
import { useAtomValue } from "jotai";
import {
Bot,
- ChevronDown,
- Edit2,
+ ChevronRight,
+ ScanEye,
+ Pencil,
FileText,
- Globe,
+ Earth,
+ Image,
Logs,
type LucideIcon,
- MessageCircle,
+ MessageCircleReply,
MessageSquare,
Mic,
MoreHorizontal,
- Plug,
+ Unplug,
Settings,
Shield,
+ SlidersHorizontal,
Trash2,
Users,
+ Video,
} from "lucide-react";
import { useCallback, useEffect, useMemo, useState } from "react";
import { toast } from "sonner";
@@ -88,7 +92,7 @@ const CATEGORY_CONFIG: Record<
},
comments: {
label: "Comments",
- icon: MessageCircle,
+ icon: MessageCircleReply,
description: "Add annotations to documents",
order: 3,
},
@@ -98,6 +102,24 @@ const CATEGORY_CONFIG: Record<
description: "Configure AI model settings",
order: 4,
},
+ image_generations: {
+ label: "Image Models",
+ icon: Image,
+ description: "Configure image generation model settings",
+ order: 4.1,
+ },
+ vision_configs: {
+ label: "Vision Models",
+ icon: ScanEye,
+ description: "Configure vision model settings",
+ order: 4.2,
+ },
+ video_presentations: {
+ label: "Video Presentations",
+ icon: Video,
+ description: "Generate and manage video presentations",
+ order: 4.3,
+ },
podcasts: {
label: "Podcasts",
icon: Mic,
@@ -105,8 +127,8 @@ const CATEGORY_CONFIG: Record<
order: 5,
},
connectors: {
- label: "Integrations",
- icon: Plug,
+ label: "Connectors",
+ icon: Unplug,
description: "Connect external data sources",
order: 6,
},
@@ -136,10 +158,16 @@ const CATEGORY_CONFIG: Record<
},
public_sharing: {
label: "Public Chat Sharing",
- icon: Globe,
+ icon: Earth,
description: "Share chats publicly via links",
order: 11,
},
+ general: {
+ label: "General",
+ icon: SlidersHorizontal,
+ description: "General search space permissions",
+ order: 12,
+ },
};
const ACTION_LABELS: Record
= {
@@ -434,12 +462,11 @@ function RolesContent({
return (
-
-