The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: restore rls check (#45723)
Vaibhavef2d21b9bfd8
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsxindex 9ebe0d7cf16..310a20027f5 100644--- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx@@ -288,7 +288,10 @@ export const PolicyEditorPanel = memo(function ({}if (selectedPolicy.check) {if (selectedPolicy.command === 'INSERT') setUsing(safeSql` ${selectedPolicy.check}`)- else setCheck(safeSql` ${selectedPolicy.check}`)+ else {+ setCheck(safeSql` ${selectedPolicy.check}`)+ setShowCheckBlock(true)+ }}setRolesFragment(