Hello everyone
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