User roles and permissions, built from a description

Tell Hercules who should see and change what, and it builds roles and permissions into your app. Office managers can see invoice totals while technicians see only their own jobs.

What can you do with roles and permissions?

Describe the roles your business has

Tell Hercules the roles you need, such as dispatcher, technician and office manager, and what each one can do. Ask it to let you customize each role's permissions, and it builds that too.

Roles and permissions
Approve as menu offering the Customer, Technician and Office staff roles
People and approvals page with a pending sign-up and Approve and Reject buttons

Approve new users before they get in

With a sign-up approval flow, new users can create a login but can't open the app until an admin approves them. Hercules adds the flow from a one-sentence request.

Approval flow
Access menu with Superadmin, Admin and Member on a list of sample users

Add admin and superadmin roles

Ask for admin and superadmin roles, and describe what a superadmin can do beyond an admin. If your app serves other businesses, give the admin role access to every customer organization.

Admin roles
Sign-in rules list with an approved company domain and a blocked former contractor

Limit who can join at all

Sign-in rules decide who can create a login before any role applies. Approve email addresses or your company's domain, and Hercules blocks everyone else.

Sign-in rules
Users tab listing a user with their email, last sign-in method and join date

See every user

The Users & Access tab lists everyone who has signed up, with their email, sign-up date and status. The Users table in the Database tab holds more detail.

Users
Security checks for sign-in and accounts, with Admin actions check the caller's role and Users cannot raise their own role both passing

Check role restrictions

Hercules Security audits check that admin actions verify the caller's role and that users can't raise their own role. A failing check has a fix button that starts a chat to fix it.

What gets checked

How do you set up roles?

  1. 1. Describe the roles

    Office managers see everything, including invoice totals. Dispatchers assign jobs. Electricians see only their own jobs and can upload photos.

    Hercules sets up each role and what it can see and do.

  2. 2. Add approval

    Add a sign-up approval flow so new users need to be approved by an admin before they can access the app

    Hercules adds the approval step. New electricians then wait for an office manager's approval before they see any jobs.

  3. 3. Check the roles

    Open Security and click Run security audit. Hercules scores the app and lists any failing role check under Issues, ready to fix.

    Security audits

What has a business built with it?

Ron Ramsey founded The Ice Cream Hut, a Florida ice cream franchise with three corporate stores and two franchises. He built one portal on Hercules for invoicing, HR and franchise onboarding. Documents such as production manuals and territory maps live behind role-based logins, and Ron estimates the portal saves him 10 to 15 hours a week.

Read the Ice Cream Hut story

“We rebuilt our entire internal software system on Hercules: from our marketing website to invoicing, to our internal portal for franchise owners, everything is now under one roof.”
Ron Ramsey, Founder, The Ice Cream Hut

Related features

Frequently asked questions

What should you know before you start?
  • User impersonation isn't available, so an admin can't sign in as a specific user.
  • Editing sign-in rules needs a paid plan, and the pricing page shows which plan includes each feature. Apps created before Hercules Auth 2.0 need a one-time upgrade first.
Can I change a role's permissions later?

You can change what a role can do at any time by asking Hercules. Each change is a new version you can restore from the Versions tab.

Do roles apply to people who sign in with single sign-on?

Roles apply to single sign-on users like anyone else. Hercules creates a user in your app the first time someone signs in with single sign-on.

Can I export my users?

A database export on a paid plan includes every user, because users live in your app's users table. If you run the app's database outside Hercules, you need to reconfigure its sign-in.

Can a user give themselves admin rights?

A user can give themselves admin rights only if the app's permissions let them change their own role. Say who can change roles when you describe them, such as "Only office managers can change someone's role."

How do you get started?

Describe the people who use your app and what each one should do. Start building.