The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: Update images for the trigger without superuser blogpost (#36004)
Ivan Vasilov9ee5779a30ed
diff --git a/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx b/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdxindex 63e2bf3823d..54c976df382 100644--- a/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx+++ b/apps/www/_blog/2025-05-08-event-triggers-wo-superuser.mdx@@ -4,8 +4,8 @@ description: Using Postgres Hooks to allow regular users to create event triggerauthor: steve_chavezauthor_url: https://github.com/steve-chavezauthor_image_url: https://github.com/steve-chavez.png-image: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png-thumb: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png+image: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png+thumb: 2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.pngcategories:- postgrestags:@@ -24,7 +24,14 @@ In this blog post, we’ll explain how we do this in the `supautils` extension,## Privileged Role-+<Img+ wide+ alt="Utility Hook"+ src={{+ dark: '/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png',+ light: '/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png',+ }}+/>The core of `supautils` is the “privileged role”, which is a role that serves as proxy to superuser. It provides a safe subset of superuser capabilities and it’s accessible to regular users.@@ -61,7 +68,14 @@ And once a superuser trips on the event trigger, it will fire with its privilege## Skipping Event Triggers-+<Img+ wide+ alt="FMGR Hook"+ src={{+ dark: '/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png',+ light: '/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png',+ }}+/>A solution would be skipping user Event Triggers for superusers.diff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.pngnew file mode 100644index 00000000000..4380846473dBinary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-dark.png differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-light.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-light.pngnew file mode 100644index 00000000000..c990cf5f175Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers-light.png differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers.pngdeleted file mode 100644index 0c1b0916883..00000000000Binary files a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/cover-event-triggers.png and /dev/null differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.pngnew file mode 100644index 00000000000..198752cfa8dBinary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-dark.png differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.pngnew file mode 100644index 00000000000..c7aef0e80bfBinary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook-light.png differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.pngdeleted file mode 100644index b862e3718a2..00000000000Binary files a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/fmgr-hook.png and /dev/null differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.pngnew file mode 100644index 00000000000..da0ebd8faa4Binary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-dark.png differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.pngnew file mode 100644index 00000000000..405aa34561cBinary files /dev/null and b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook-light.png differdiff --git a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.png b/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.pngdeleted file mode 100644index 9b90a72440e..00000000000Binary files a/apps/www/public/images/blog/2025-05-08-event-triggers-wo-superuser/utility-hook.png and /dev/null differdiff --git a/apps/www/public/planetpg-steve_chavez-rss.xml b/apps/www/public/planetpg-steve_chavez-rss.xmlindex 0cf42092594..ed086a19ba2 100644--- a/apps/www/public/planetpg-steve_chavez-rss.xml+++ b/apps/www/public/planetpg-steve_chavez-rss.xml@@ -5,9 +5,9 @@<link>https://supabase.com/blog</link><description>Latest Postgres news from Steve Chavez at Supabase</description><language>en</language>- <lastBuildDate>Fri, 16 Dec 2022 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Thu, 08 May 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/planetpg-steve_chavez-rss.xml" rel="self" type="application/rss+xml"/>-<item>+ <item><guid>https://supabase.com/blog/event-triggers-wo-superuser</guid><title>PostgreSQL Event Triggers without superuser access</title><link>https://supabase.com/blog/event-triggers-wo-superuser</link>diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex ff71e142a6f..a90e31bf251 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -5,11 +5,18 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Fri, 04 Apr 2025 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Mon, 26 May 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>+ <item>+ <guid>https://supabase.com/blog/open-data-standards-postgres-otel-iceberg</guid>+ <title>Open Data Standards: Postgres, OTel, and Iceberg</title>+ <link>https://supabase.com/blog/open-data-standards-postgres-otel-iceberg</link>+ <description>Replace custom CRUD endpoints, reduce infrastructure complexity, and accelerate product delivery.</description>+ <pubDate>Mon, 26 May 2025 00:00:00 -0700</pubDate>+</item><item><guid>https://supabase.com/blog/simplify-backend-with-data-api</guid>- <title>Simplify back-end complexity with Supabase Data APIs</title>+ <title>Simplifying back-end complexity with Supabase Data APIs</title><link>https://supabase.com/blog/simplify-backend-with-data-api</link><description>Replace custom CRUD endpoints, reduce infrastructure complexity, and accelerate product delivery.</description><pubDate>Sat, 17 May 2025 00:00:00 -0700</pubDate>