9 lines
228 B
SQL
9 lines
228 B
SQL
alter table public.profiles enable row level security;
|
|
|
|
drop policy if exists "profiles_select_own" on public.profiles;
|
|
create policy "profiles_select_own"
|
|
on public.profiles
|
|
for select
|
|
to authenticated
|
|
using (id = auth.uid());
|