Skip to main content

Access levels

Every account has a level, which comes from its role: /admin requires manager or higher; /account requires a signed-in account.

Roles

Settings → User Roles — a role has a name, an access level, and (for manager-level roles) a set of permissions. Settings → Users creates and edits accounts and assigns their role; the account’s level follows the role. The demo data includes these roles:

Permissions

A permission is group.action — for example orders.view — or group.* for every action in a group.

How a request is checked

For a manager, each admin request is matched to a section (the first part of the URL after /admin) and an action: Some delete buttons post to an address ending in /delete; those count as edit.
  • The dashboard is open to every manager; its widgets depend on orders.view, reports.view and customers.view.
  • Sections without a group — Users and User Roles — are for admins only, whatever a role says.
  • The admin menu only shows the sections the user can open.
  • Permissions are read on every request, so role changes apply immediately.

Safety rules

  • Nobody can assign a level above their own, or manage an account above their own level.
  • Admins can’t change their own level, block themselves or delete their own account.
The demo staff accounts share one public password. On a live store, never load the demo accounts — see Deploy, upgrade & back up.