© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
29 replies
othelocold

My UPDATE policy for db row is not working as it should:

I am checking if userId is the same user authID that is trying to update the row, but it does not work. The EXIST evaluation is FALSE.

I doubled checkd that userId matches the auth id, it they match. Not sure what I'm missing.

When I just write true for using and check sections then it works.
Screenshot_2025-08-26_at_18.59.23.png
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

policy not working
SupabaseSSupabase / help-and-questions
4y ago
New row violates row-level security policy for table
SupabaseSSupabase / help-and-questions
4y ago
New row violates row-level security policy for table objects
SupabaseSSupabase / help-and-questions
4y ago
'new row violates row-level security policy for table tickets
SupabaseSSupabase / help-and-questions
4y ago