Team Invite
This project allows multi-tenancy and multiple users for one app. A email invite is sent out from the app. When the invited member clicks on the invite link they are redirected to a onboarding link, which signs them up and adds them with their role to the invited org.
More detailed explanations can be found in this blog post.
coming soon...
The code required to invite users can be found in app/dashboard/invite
Removing users
Removing users can be done by admins or owners. Go the /dashboard/invite
Under the list of users click the remove
button on the user you would like to remove from the org. This will delete their role from the roles
table in the db and cause them to lose access to the org.