Hello, i have set up a database and added RLS to the tables, but added no rules yet. I have noticed that if i use the supabase js client i can't get any results back, but if i use curl or postman, for instance, i do get the rows back
j
jonny
01/27/2022, 6:34 PM
You'll need to add some rules so that your client can interact with the table you've turned RLS on for
jonny
01/27/2022, 6:35 PM
Essentially by turning on RLS, you have locked up the table, and you will need rules to dictate which users can read/write which rows from your table.
z
ze
01/28/2022, 10:51 AM
yes, i understand that, but that is not my question here. Why is it that i can access the tables with curl or postman, but not with the javascript client? is this a bug? Is this intended?