© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
4 replies
tpz

Database Functions - Auth

Hello!

Is it possible to determine if the caller is allowed to bypass RLS?

I created a custom function that checks the updating of the row by using auth.uid(), it is always successful if I am logged in as a normal user.

But when I update the rows using Supabase table editor in the dashboard, I get an error because auth.uid() returns null if I use the table editor.

Thank you
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database Functions vs Edge Functions
SupabaseSSupabase / help-and-questions
5mo ago
[URGENT] Connection timeouts - app with auth/database/edge functions
SupabaseSSupabase / help-and-questions
5mo ago
Call Edge Functions from Database Functions
SupabaseSSupabase / help-and-questions
7mo ago
Supabase database functions enquiry
SupabaseSSupabase / help-and-questions
8mo ago