---------------------- Hmm, I don't know enough to give you a confident answer yet. However, I found this blog post(https://refine.dev/blog/refine-pixels-6/) which talks about user permissions with Supabase in Refine. It mentions that you can use Supabase Custom Claims to set up custom user roles. You can find more information about Supabase Custom Claims here(https://github.com/supabase-community/supabase-custom-claims). Hope this helps! ----------------------
it works with legacy authProvider, but does not work in v4 with new routing etc actually I've didn't seen examples of how to use Firebase Auth with SSR without Firebase Admin, so now I'm unsure if the old behavior was correct
seems like the old, v3 refine in example app used client-side authentication check and new example app uses server-side auth check, which is incompatible with firebase client libs