© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
samad

Need help with anon role

Have the following policy that does not seem to allowing inserts on client-side using JS:

create or replace policy "Anon can do all actions on interview results"
on interview_results for all with check (
  auth.role() = 'anon'
); 
create or replace policy "Anon can do all actions on interview results"
on interview_results for all with check (
  auth.role() = 'anon'
); 


Getting "violates row policy" errors. Any idea?
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

Help with Supabase Trigger: Permission Denied for Anon Role on auth.users Table
SupabaseSSupabase / help-and-questions
13mo ago
RLS insert still failing for anon role even with correct policy
SupabaseSSupabase / help-and-questions
6mo ago
Anon privilege?
SupabaseSSupabase / help-and-questions
4mo ago
using the service role key but supabase thinks im anon
SupabaseSSupabase / help-and-questions
13mo ago