diff --git a/messages/en-US.json b/messages/en-US.json index 62ed7f30a..1b0927561 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.", @@ -2089,6 +2091,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 724da9cc2..db9ca47bf 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -6,6 +6,7 @@ import { Bot, Boxes, Building2, + Building2Icon, Cable, ChartLine, Coins, @@ -377,6 +378,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 @@ -388,7 +394,7 @@ export const adminNavSections = (env?: Env): SidebarNavSection[] => [ } ] : []), - ...(build == "enterprise" + ...(build === "enterprise" ? [ { title: "sidebarLicense",