ferminrp
09/14/2021, 3:00 PMjonny
09/14/2021, 3:06 PMJoshTheNerd
09/14/2021, 3:34 PMJoshTheNerd
09/14/2021, 3:36 PMcataxcab
09/14/2021, 4:29 PMdommarr
09/14/2021, 4:53 PMdommarr
09/14/2021, 5:17 PMJulián
09/14/2021, 8:20 PMJulián
09/14/2021, 8:21 PMJulián
09/14/2021, 8:27 PMJulián
09/14/2021, 8:27 PMdreinon
09/14/2021, 10:17 PMdreinon
09/14/2021, 10:17 PMScott P
09/14/2021, 10:18 PMdreinon
09/14/2021, 10:18 PMdreinon
09/14/2021, 10:18 PMScott P
09/14/2021, 10:18 PMdreinon
09/14/2021, 10:19 PMdreinon
09/14/2021, 10:19 PMKellen Mace
09/15/2021, 1:31 AMKellen Mace
09/15/2021, 1:31 AM(role() = 'authenticated':: text)
2. In my JS app, I authenticate my user, then click a button to fire off a request to insert a row into that table.
3. Supabase responds with a 403
and this payload: {"hint":null,"message":"new row violates row-level security policy for table \"settings\"","code":"42501","details":null}
Kellen Mace
09/15/2021, 1:32 AMsupabase.auth.session()
& supabase.auth.user()
methods that the JS client provides.
• If I look at the request headers, I can see that the apikey
and authorization
headers are being included.
--Kellen Mace
09/15/2021, 1:32 AMjason-lynx
09/15/2021, 1:33 AMreturning: minimal
in your supabase query, so that the row is inserted but not returnedKellen Mace
09/15/2021, 1:44 AMKellen Mace
09/15/2021, 1:44 AMJoshTheNerd
09/15/2021, 1:47 AMSyns
09/15/2021, 2:27 AMSyns
09/15/2021, 2:32 AMsilenth
09/15/2021, 3:06 AM