gesusc
07/25/2022, 7:54 PMprofiles table (which I believe I lifted straight from the Supabase docs) that is preventing me from inserting into the table and I have no idea why. The profiles table has an id column for the primary key and the policy is below:
create policy "Users can insert their own profile."
on profiles for insert
with check ( auth.uid() = id );
When I run this.#supabase.from('profiles').insert() as an authenticated user I get new row violates row-level security policy for table \"profiles\".Needle
07/25/2022, 7:54 PMgesusc
07/25/2022, 7:55 PMid set to the authenticated users id.garyaustin
07/25/2022, 8:01 PMgesusc
07/25/2022, 8:06 PMgesusc
07/25/2022, 8:08 PM