© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
29 replies
iFlySimX

Supabase - RLS Policies Issues

When I enabled RLS on profiles, it started enforcing access rules, which is expected. But the problem was that my admin user "Admins can view all profiles" policy referenced profiles inside itself, which caused an infinite recursion issue.

If someone could please help me. Thanks!
Screenshot_2025-02-02_185419.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

Supabase and Prisma RLS policies
SupabaseSSupabase / help-and-questions
3y ago
RLS policies
SupabaseSSupabase / help-and-questions
13mo ago
Supabase RBAC and RLS policies performance
SupabaseSSupabase / help-and-questions
3y ago
Multiple RLS Policies
SupabaseSSupabase / help-and-questions
4y ago