noaxis
02/28/2022, 4:50 PMnoaxis
02/28/2022, 4:50 PMnoaxis
02/28/2022, 4:51 PMsql
CREATE POLICY "Enable insert for authenticated users only" ON public.profiles FOR INSERT WITH CHECK (true);
noaxis
02/28/2022, 4:52 PMnew row violates row-level security policy for table "profiles"
back from the servernoaxis
02/28/2022, 4:52 PMtypescript
supabase
.from<Profile_AtRest>('profiles')
.insert(profile)
.then(({ data, error }) => {
if (error) {
console.error(error)
}
console.log(`Profile save finished`, { data, error })
})
garyaustin
02/28/2022, 4:53 PMgaryaustin
02/28/2022, 4:54 PMnoaxis
02/28/2022, 4:56 PMgaryaustin
02/28/2022, 4:58 PMnoaxis
02/28/2022, 4:59 PMselect
rule?garyaustin
02/28/2022, 5:01 PMnoaxis
02/28/2022, 5:08 PM