Skip to content

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

Only show RLS link on public schema tables

Terry Sutton0d74ae67bc03
diff --git a/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx b/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
index 5b8f12db0be..7adaa5c79af 100644
--- a/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
@@ -139,7 +139,7 @@ const TableGridEditor: FC<Props> = ({
schema={selectedTable.schema}
table={gridTable}
headerActions={
- !isViewSelected && <GridHeaderActions table={selectedTable as PostgresTable} />
+ !isViewSelected && selectedTable.schema === 'public' && <GridHeaderActions table={selectedTable as PostgresTable} />
}
onAddColumn={onAddColumn}
onEditColumn={onSelectEditColumn}