Files
supabase__supabase/supabase/migrations/20251023193135_anon_read_access_troubleshooting.sql
Charis f1e4970352 db: allow public read access to troubleshooting entries table (#33172)
* db: allow public read access to troubleshooting entries table

* chore: allow troubleshooting generation from public client
2025-10-23 13:24:23 +00:00

15 lines
393 B
SQL

-- Give anon and authenticated read access to the troubleshooting entries table
-- Allows troubleshooting entries to be generated in local dev
create policy anon_read_troubleshooting_entries
on public.troubleshooting_entries
for select
to anon
using (true);
create policy authenticated_read_troubleshooting_entries
on public.troubleshooting_entries
for select
to authenticated
using (true);