globals
This commit is contained in:
@@ -17,7 +17,6 @@ import {
|
||||
FileIcon,
|
||||
UserIcon,
|
||||
UserCircleIcon,
|
||||
BoxCubeIcon,
|
||||
} from "../icons";
|
||||
import { useSidebar } from "../context/SidebarContext";
|
||||
import SidebarWidget from "./SidebarWidget";
|
||||
@@ -216,36 +215,10 @@ const AppSidebar: React.FC = () => {
|
||||
name: "Profile Settings",
|
||||
path: "/settings/profile",
|
||||
},
|
||||
// Integration is admin-only; hide for non-privileged users (handled in render)
|
||||
{
|
||||
icon: <PlugInIcon />,
|
||||
name: "Integration",
|
||||
name: "AI Model Settings",
|
||||
path: "/settings/integration",
|
||||
adminOnly: true,
|
||||
},
|
||||
// Global Settings - Admin only, dropdown with global config pages
|
||||
{
|
||||
icon: <BoxCubeIcon />,
|
||||
name: "Global Settings",
|
||||
adminOnly: true,
|
||||
subItems: [
|
||||
{
|
||||
name: "Platform API Keys",
|
||||
path: "/admin/system/globalintegrationsettings/",
|
||||
},
|
||||
{
|
||||
name: "Global Prompts",
|
||||
path: "/admin/system/globalaiprompt/",
|
||||
},
|
||||
{
|
||||
name: "Global Author Profiles",
|
||||
path: "/admin/system/globalauthorprofile/",
|
||||
},
|
||||
{
|
||||
name: "Global Strategies",
|
||||
path: "/admin/system/globalstrategy/",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
icon: <PageIcon />,
|
||||
|
||||
Reference in New Issue
Block a user