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'
); 


Getting "violates row policy" errors. Any idea?
Was this page helpful?