Many-to-many Users-to-Account Structure

Q: I’m designing an app and want to have the ability to have accounts and users. In particular:

  • A new user that signs up is assigned his/her own account. New user has owner permission rights.
  • All new users get their own account.
  • A user can be invited to join other accounts of differing roles/permissions.

So it’s a many users to many accounts scenario.

Can AuthRocket handle this use-case?


A: Sure! AuthRocket is fully capable of a many users to many accounts scenario. In our API, we call accounts “Orgs”, so you’ll be looking for many Users to many Orgs, and you’ll connect them with Memberships.

Memberships can hold permissions. Adding an owner permission will work great (we do something similar ourselves).

Tagged with: users permissions orgs

Questions? Find a Typo? Get in touch.