Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update wording

Joshen Lim975ef475646a
diff --git a/studio/components/interfaces/Organization/NewProject/NotOrganizationOwnerWarning.tsx b/studio/components/interfaces/Organization/NewProject/NotOrganizationOwnerWarning.tsx
index 850a5b0ecd7..9efd058275b 100644
--- a/studio/components/interfaces/Organization/NewProject/NotOrganizationOwnerWarning.tsx
+++ b/studio/components/interfaces/Organization/NewProject/NotOrganizationOwnerWarning.tsx
@@ -1,8 +1,12 @@
import { IconAlertCircle } from '@supabase/ui'
+
+import { useFlag } from 'hooks'
import InformationBox from 'components/ui/InformationBox'
// [Joshen] This can just use NoPermission component i think
const NotOrganizationOwnerWarning = () => {
+ const enablePermissions = useFlag('enablePermissions')
+
return (
<div className="mt-4">
<InformationBox
@@ -13,7 +17,9 @@ const NotOrganizationOwnerWarning = () => {
description={
<div className="space-y-3">
<p className="text-sm leading-normal">
- Contact your organization owner or adminstrator to create a new project.
+ {enablePermissions
+ ? 'Contact your organization owner or adminstrator to create a new project.'
+ : 'Only the organization owner can create new projects. Contact your organization owner to create a new project for this organization.'}
</p>
</div>
}