mirror of
https://github.com/supabase/supabase.git
synced 2026-09-22 13:37:53 +08:00
f1e4970352
* db: allow public read access to troubleshooting entries table * chore: allow troubleshooting generation from public client
15 lines
393 B
SQL
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);
|