Hello, i have set up a database and added RLS to t...
# javascript
z
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
You'll need to add some rules so that your client can interact with the table you've turned RLS on for
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
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?
i.e., is this a security issue?