Supabase roles, creating a client portal

Hello everyone :waving_hand:

I just recorded a long video going through how to create a client portal with role base visibility and blocking pages for specific roles like admin and user.

Most of the work is based on the docs: Supabase authentication | Documentation

But there is a lot of troubleshooting that will be super important for those trying to attempt this.
Things like: Paying attention to your RLS policies in supabase tables.
when creating the new tables: roles and userRoles you can forget to set up insert and read policies and your app wonโ€™t work.

Hereโ€™s the video:

Hope this helps :victory_hand:

3 Likes

showww

1 Like