mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-18 23:05:21 +00:00
🚧 add sidebar item for policies
This commit is contained in:
@@ -1231,6 +1231,7 @@
|
|||||||
"sidebarResources": "Resources",
|
"sidebarResources": "Resources",
|
||||||
"sidebarProxyResources": "Public",
|
"sidebarProxyResources": "Public",
|
||||||
"sidebarClientResources": "Private",
|
"sidebarClientResources": "Private",
|
||||||
|
"sidebarResourcePolicies": "Policies",
|
||||||
"sidebarAccessControl": "Access Control",
|
"sidebarAccessControl": "Access Control",
|
||||||
"sidebarLogsAndAnalytics": "Logs & Analytics",
|
"sidebarLogsAndAnalytics": "Logs & Analytics",
|
||||||
"sidebarUsers": "Users",
|
"sidebarUsers": "Users",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import {
|
|||||||
ScanEye, // Added from 'dev' branch
|
ScanEye, // Added from 'dev' branch
|
||||||
Server,
|
Server,
|
||||||
Settings,
|
Settings,
|
||||||
|
ShieldIcon,
|
||||||
SquareMousePointer,
|
SquareMousePointer,
|
||||||
TicketCheck,
|
TicketCheck,
|
||||||
User,
|
User,
|
||||||
@@ -62,7 +63,18 @@ export const orgNavSections = (env?: Env): SidebarNavSection[] => [
|
|||||||
title: "sidebarClientResources",
|
title: "sidebarClientResources",
|
||||||
href: "/{orgId}/settings/resources/client",
|
href: "/{orgId}/settings/resources/client",
|
||||||
icon: <GlobeLock className="size-4 flex-none" />
|
icon: <GlobeLock className="size-4 flex-none" />
|
||||||
}
|
},
|
||||||
|
...(build !== "oss"
|
||||||
|
? [
|
||||||
|
{
|
||||||
|
title: "sidebarResourcePolicies",
|
||||||
|
href: "/{orgId}/settings/resources/policies",
|
||||||
|
icon: (
|
||||||
|
<ShieldIcon className="size-4 flex-none" />
|
||||||
|
)
|
||||||
|
}
|
||||||
|
]
|
||||||
|
: [])
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -86,7 +98,7 @@ export const orgNavSections = (env?: Env): SidebarNavSection[] => [
|
|||||||
href: "/{orgId}/settings/domains",
|
href: "/{orgId}/settings/domains",
|
||||||
icon: <Globe className="size-4 flex-none" />
|
icon: <Globe className="size-4 flex-none" />
|
||||||
},
|
},
|
||||||
...(build == "saas"
|
...(build === "saas"
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
title: "sidebarRemoteExitNodes",
|
title: "sidebarRemoteExitNodes",
|
||||||
|
|||||||
Reference in New Issue
Block a user