rbac / orgs / permissions

Hey guys, First off thanks for developing and maintaining this and congrats! Very nice. I'm new to auth systems and app development and need to confirm if your solution supports my specific multi-tenant app requirements for my app. I need my app to have: Super admin (me): - Full control over permissions, orgs, teams, users, roles, features Enterprise user (admin): - Creates whitelabeled workspace/community - Manages roles (admin/moderator/user) within their org/community - Invites members via email link to access their content (discussion forums, courses, etc.) - Controls granular permissions for paid features or add-ons - Have their organization login page (or template) so users login directly to their org/community thourhg a specific link/route - Charge their users Pro user: - Creates and manages organizations (company workspaces or communities) - Invites clients/employees to restricted workspace content - Shares invitation links via email or manually Basic User: - Joins one or more organizations (workspaces or communities) or default app (or none) organization - Creates projects and content (like Notion projects) - Receives granular access to features/modules without necessarily belonging to an org - Shares their created content with other basic users (so they can preview it, clone it, or edit it) Additional needs: - Subscription/add-on billing based on user tiers - Future: Allow Enterprise users to charge their members through my platform with me taking a cut (similar to Stripe Connect) My app concept combines elements from GoHighLevel, Notion, and Skool. Is this use case fully supported by BetterAuth features and plugins right now? Any guidance would be highly appreciated. Thank you so much.
Solution:
Hey for maning perms, you have 2 options built into better auth. App level access control and org level access control. For app level access control, check out the admin plugins and for org level the organization plugin has something built in.
Jump to solution
5 Replies
Solution
bekacru
bekacru2w ago
Hey for maning perms, you have 2 options built into better auth. App level access control and org level access control. For app level access control, check out the admin plugins and for org level the organization plugin has something built in.
bekacru
bekacru2w ago
But your question is more of access control based on the user subscription tier instead of a tradtional role. For that case you may need to implement something custom or you can repurpose the role field as well.
Lucas
LucasOP2w ago
thanks! will try it out @bekacru how do people handle user subscription tiers right now? do they create an app-wide organization, and the roles are the subscription tiers? ex: pro user, basic user, free user on a "app-name" org?
bekacru
bekacru2w ago
people either implement it using custom fields and all or recently you can use the stripe pluging with the reference system to acheive this.
Lucas
LucasOP2w ago
thank you

Did you find this page helpful?