i'm having trouble with row based authentication. ...
# help
s
i'm having trouble with row based authentication. i want to use a table for form submissions. i have insert set to anyone can insert, and select set to only logged in users. the read is working properly but I can't insert using the anon key. do i need to set any other permissions?
n
Hello @Sue! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
Insert does a select by default. You need to add a returning:minimal parameter… https://supabase.com/docs/reference/javascript/insert#notes
n
Sue (2022-03-30)
s
thank you!!!