Agenda, Agendador, Configurações
This commit is contained in:
12
DBS/2026-03-11/supabase-snippets/Untitled query 437.sql
Normal file
12
DBS/2026-03-11/supabase-snippets/Untitled query 437.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
alter table public.patient_groups enable row level security;
|
||||
|
||||
drop policy if exists patient_groups_select on public.patient_groups;
|
||||
|
||||
create policy patient_groups_select
|
||||
on public.patient_groups
|
||||
for select
|
||||
to authenticated
|
||||
using (
|
||||
owner_id = auth.uid()
|
||||
or owner_id is null
|
||||
);
|
||||
Reference in New Issue
Block a user