diff --git a/messages/en-US.json b/messages/en-US.json index 7ed4906c1..d58ad0146 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -465,6 +465,8 @@ "apiKeysDelete": "Delete API Key", "apiKeysManage": "Manage API Keys", "apiKeysDescription": "API keys are used to authenticate with the integration API", + "orgsManage": "Manage Organizations", + "orgsDescription": "View and manage all organizations on this instance", "provisioningKeysTitle": "Provisioning Key", "provisioningKeysManage": "Manage Provisioning Keys", "provisioningKeysDescription": "Provisioning keys are used to authenticate automated site provisioning for your organization.", @@ -2095,6 +2097,7 @@ "resourceBudgetSettings": "Budget", "resourceBudgetSettingsDescription": "Configure how this AI gateway restricts usage based on spending or token limits", "sidebarApiKeys": "API Keys", + "sidebarOrgs": "Organizations", "sidebarProvisioning": "Provisioning", "sidebarSettings": "Settings", "sidebarAllUsers": "All Users", diff --git a/src/app/admin/organizations/page.tsx b/src/app/admin/organizations/page.tsx new file mode 100644 index 000000000..215f42a60 --- /dev/null +++ b/src/app/admin/organizations/page.tsx @@ -0,0 +1,17 @@ +import SettingsSectionTitle from "@app/components/SettingsSectionTitle"; +import { getTranslations } from "next-intl/server"; + +export interface OrganizationsPageProps {} + +export default async function OrganizationsPage(props: OrganizationsPageProps) { + const t = await getTranslations(); + + return ( + <> + + + ); +} diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index 80352bca8..a2636de5c 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -6,6 +6,7 @@ import { Bot, Boxes, Building2, + Building2Icon, Cable, ChartLine, Coins, @@ -381,6 +382,11 @@ export const adminNavSections = (env?: Env): SidebarNavSection[] => [ href: "/admin/api-keys", icon: }, + { + title: "sidebarOrgs", + href: "/admin/organizations", + icon: + }, ...(build === "oss" || env?.app.identityProviderMode === "global" || env?.app.identityProviderMode === undefined @@ -392,7 +398,7 @@ export const adminNavSections = (env?: Env): SidebarNavSection[] => [ } ] : []), - ...(build == "enterprise" + ...(build === "enterprise" ? [ { title: "sidebarLicense",