ubiquity-os-marketplace / text-vector-embeddings

0 stars 6 forks source link

fix: enable RLS for tables #22

Closed gentlementlegen closed 3 days ago

gentlementlegen commented 3 days ago

Added RLS security for tables to avoid having the data readable / writable by anyone.

gentlementlegen commented 3 days ago

@sshivaditya2019 rfc

sshivaditya2019 commented 3 days ago

@sshivaditya2019 rfc

Enabling RLS would require policies for managing DML operations. However, I think this may not be necessary since no one can write without the anon key/db pass, and reading should be fine since it's public text data.

gentlementlegen commented 3 days ago

That's true, it is more to avoid Supabase warnings and updated the README with it as well.