Hi everyone, I currently have an app that uses firebase auth to authenticate users and firestore for the users table.
I would like to add supabase as a database to create a chat function.
How can I create an RLS policy on the table so that the firebase user can only see/edit the rows on supabase that belong to him?
For example, the "chat_messages" table on supabase contains the "user_id" column with the firebase UID.
I wish this thing was more secure so that no user using the api can edit outside of their rows.
Supabase Wrappers can be a solution?
Thank you very much.