Skip to content

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

Ensure that tables under protected schemas cannot be editted in table editor

Joshen Lim58d6f635ce9d
diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
index 97494305f53..3d4c55a738b 100644
--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
@@ -249,7 +249,8 @@ const TableEditorMenu: FC<Props> = ({
hoverText={table.comment ? table.comment : table.name}
isActive={isActive}
action={
- isActive && (
+ isActive &&
+ !isLocked && (
<Dropdown
size="small"
side="bottom"