Hi there, newbie Supabase user here ๐
I want to create admin panel for a web app. What is your recommendation if I want to login like usual in client side, then do administrative task in this admin panel?
1. Make much more complex RLS policies that check user's
isAdmin
column. So user can login with anon key clientside.
2. Send the JWT after client side login to serverside. Verify it. And do administrative supabase function with servicekey.