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 team that's only usable by themselves, so you can easily associate resources to teams and still have private resources to a user.
Make sure to add
team:references when generating your models.
If you'd like a resource to be shared across a Team, you can scope your controllers to the current team so the resources are shared between users in the associated team.
Users can be assigned a role for each team they are a part of. By default, we only provide an
admin role, but you can add more rules in
app/models/team_member.rb. These roles will be listed in the UI when adding or editing a team member.
You can check the role on the team member to restrict access to certain functionality on the team 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.