Jumpstart provides several pieces of functionality for users to make developing applications easier.
Users with the
admin flag set to
true will be allowed to access the application's admin interface (built with Administrate), Sidekiq web UI, and more.
To set a user as an admin, simply update their admin flag:
user.update(admin: true) from the Rails console.
You can check this flag if you would like to restrict any functionality only to admin users.
Every user has a personal account that's only usable by themselves, so you can easily associate resources to accounts and still have private resources to a user.
Make sure to add
account:references when generating your models.
If you'd like a resource to be shared across a Account, you can scope your controllers to the current account so the resources are shared between users in the associated account.
Users can be assigned a role for each account they are a part of. By default, we only provide an
admin role, but you can add more rules in
app/models/account_user.rb. These roles will be listed in the UI when adding or editing a account member.
You can check the role on the account member to restrict access to certain functionality on the account as needed.
Users can sign up or login with connected accounts. We automatically add links based upon which Omniauth providers are enabled. By default, Jumpstart has options for a few Omniauth providers, but you're free to add other providers and they will be automatically added to parts of the UI.