Skip to content

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

Disable updating project name basd on ABAC

Joshen Lim1d935382d984
diff --git a/studio/components/interfaces/Settings/General/General.tsx b/studio/components/interfaces/Settings/General/General.tsx
index 889736d6ace..02eedce5096 100644
--- a/studio/components/interfaces/Settings/General/General.tsx
+++ b/studio/components/interfaces/Settings/General/General.tsx
@@ -75,7 +75,7 @@ const General: FC<Props> = ({}) => {
>
<FormSection header={<FormSectionLabel>General settings</FormSectionLabel>}>
<FormSectionContent loading={false}>
- <Input id="name" size="small" label="Project name" disabled={false} />
+ <Input id="name" size="small" label="Project name" disabled={!canUpdateProject} />
</FormSectionContent>
</FormSection>
</FormPanel>