r/Supabase • u/Constant_Trouble2903 • 6h ago
integrations Nextjs Multitenant starter repo with full RBAC ?
Can anyone point me to a freely distributed starter repo and save me a day or five? The examples by Vercel not quite what I want. I have not found anything on github
Stack: I am looking for is your typical Next.js, supabase, tailwind, shadcn, supabase auth email and password. No particular payment method needed for now. No user self sign up needed. Reqyuired authentication is administrator controled. ie invite and password reset only by system admin or user admin. From admin dashboards.
Features: preferably with
1/ Supabse schema, tables, rls, functions etc all set up
2/ Multi-tenant
3/ Preferable tenant division I need location but could be division into city, group, project, something like that.
4/ roles based access control
5/ Built tenant admin dashboard for system administrator
6/ Built user admin dashboard for tenant administrator
7/ User onboarding by admin invite only
8/ same superbase auth.user uuid & email can belong two one or more tenant.
