Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(web): align integrations copy with organization admin access
Richie McIlroyd9b214d4e04c
diff --git a/apps/web/app/(org)/dashboard/settings/organization/integrations/page.tsx b/apps/web/app/(org)/dashboard/settings/organization/integrations/page.tsxindex abb7c13fe..2793e9b24 100644--- a/apps/web/app/(org)/dashboard/settings/organization/integrations/page.tsx+++ b/apps/web/app/(org)/dashboard/settings/organization/integrations/page.tsx@@ -24,7 +24,8 @@ export default async function OrganizationIntegrationsPage() {).catch((error: unknown) => {if (error instanceof Error &&- (error.message === "Only the owner can manage organization storage" ||+ (error.message ===+ "Organization settings are only available to admins and owners" ||error.message === "Organization not found")) {redirect("/dashboard/caps");diff --git a/apps/web/app/(org)/dashboard/settings/organization/integrations/storage-integrations.tsx b/apps/web/app/(org)/dashboard/settings/organization/integrations/storage-integrations.tsxindex 298634177..0e4cfa1be 100644--- a/apps/web/app/(org)/dashboard/settings/organization/integrations/storage-integrations.tsx+++ b/apps/web/app/(org)/dashboard/settings/organization/integrations/storage-integrations.tsx@@ -295,8 +295,8 @@ export function OrganizationStorageIntegrations({<div className="flex items-center gap-2 px-1"><InfoIcon className="size-3.5 text-gray-9 shrink-0" /><p className="text-[12px] text-gray-9">- Storage applies to all members of {settings.organization.name}. Only- owners can manage integrations.+ Storage applies to all members of {settings.organization.name}. Admins+ and owners can manage integrations.</p></div>