SupabaseS
Supabase7mo ago
eric44

Dealing with user roles

I create a table called user_roles. I made two roles. But im wondering if roles is already built in and im suppose to do it differently? also in the middleware can I get the roles easily to decide where to redirect? cause I didnt think querying the DB in the middleware was a good idea.
Was this page helpful?