Add group management functionality to the UI

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/63441577-815e-4410-8435-42f3cd425306.jpg
This commit is contained in:
alphaeusmote
2025-04-10 12:49:59 +00:00
2 changed files with 13 additions and 0 deletions
@@ -75,6 +75,12 @@ export function MobileSidebar({ isOpen, onClose }: MobileSidebarProps) {
icon: <Users className="w-5 h-5 mr-3" />,
roles: ["admin"],
},
{
title: "Groups",
href: "/groups",
icon: <Users className="w-5 h-5 mr-3" />,
roles: ["admin", "manager"],
},
{
title: "Webhooks",
href: "/webhooks",
@@ -17,6 +17,7 @@ import {
Webhook,
ClipboardList,
ShieldAlert,
UsersRound,
} from "lucide-react";
import { Button } from "@/components/ui/button";
@@ -71,6 +72,12 @@ export function Sidebar() {
icon: <Users className="w-5 h-5 mr-3" />,
roles: ["admin"],
},
{
title: "Groups",
href: "/groups",
icon: <UsersRound className="w-5 h-5 mr-3" />,
roles: ["admin", "manager"],
},
{
title: "Roles",
href: "/roles",