Skip to content

User management

User management lists every account that can sign in to JAI Tool. Here you create accounts, decide what each one may do, and disable, unlock or delete them. Open it from User management in the sidebar.

Admin only

Only admins see User management in the sidebar.

User management list

Accounts and roles

Each account signs in with its email address and its own password. An account is either an Admin or a User:

Role What it can do
Admin Everything in every area, plus the admin entries in the sidebar: User management, Restore deleted, Label design, System settings and Backup & Restore.
User Exactly what its Permissions tab allows, area by area.

A disabled account can't sign in at all, whatever its role. Unlike inventory records, accounts are not moved to Restore deleted when you delete them: they are gone for good.

The list

The table works like every other list: search, the status filter bar, Filter rows, Show columns, sorting, paging and Export filtered rows are explained in Tables. Click a row to open the account.

The status filter bar counts Users (all accounts), Active, Locked out, Disabled and Admins.

Column What it shows
ID The account's number.
Thumbnail The account's photo.
Email The address the account signs in with.
Full name First and last name.
Role Admin or User.
Created on When the account was created.
Edited on When the account was last changed.
Status Active, or Disabled for an account that can't sign in.
Locked out No, or the minutes left of a sign-in lockout, such as "12 min". See Unlock account.
Forgot password Allowed, or Not allowed while the account has had 3 Forgot password emails within the last hour; further requests send nothing until the oldest is an hour old. Shown only while email is on in System settings.
2FA On for an account with two-factor authentication set up, else Off. Shown only while two-factor authentication is not Off in System settings.

Any custom fields you add to accounts can be shown as columns too.

The status filter groups are Role (Admin, User), Status (Active, Disabled), Locked out (No, Yes), and, when those features are on, Forgot password (Allowed, Not allowed) and 2FA (On, Off).

Each row ends with these actions:

  • opens the Permissions tab.
  • opens the Actions tab.
  • Duplicate opens New user with only the first name, last name and photo copied: not the email address, custom fields or permissions.
  • Delete deletes the account (see Delete). It is greyed out for your own account and for the last active admin.

The toolbar also has Import (see Import), Edit custom fields (adds your own fields to every account, see Custom fields), Edit default thumbnail (the picture shown for accounts without a photo, see Records) and New user.

Creating a user

  1. Click New user.
  2. Fill in Email address, First name and Last name.
  3. Optionally add a Thumbnail photo and fill in your custom fields.
  4. Leave Role on User, or pick Admin.
  5. Click Save.
  6. Open the new account's Permissions tab and give it the areas it needs: a new User starts with None everywhere.

New user form

Field What it does
Email address* The sign-in name, and where emails go. Must be unique, ignoring upper and lower case: "Another account already uses this email address."
First name* Up to 150 characters.
Last name* Up to 150 characters.
Thumbnail The account's photo, shown in the sidebar and in tables.
Role User (default) or Admin. Later you change it on the Permissions tab; the Edit tab has no role.
Custom fields The fields set up with Edit custom fields.

How the new user gets a password

A new account has no password, so it can't sign in until its owner sets one through a set password link.

  • Email on (see System settings): JAI Tool emails the link to the new address straight away, with the subject "Your JAI Tool account", in the account's language. If sending fails, a red toast says "Email not sent" with the reason; the account is still created.
  • Email off, or the email went astray: open the account's Actions tab, click Create link and pass the link on yourself.

A link is valid for 15 minutes. It stops working once a new password is set or the account signs in. The owner opens it, types the new password twice and is signed in; see Signing in. If two-factor authentication applies to the account, they are asked for a code before they are signed in.

Tip

If the emailed link expired before the person used it, click Create link on the Actions tab for a fresh one.

The account

Opening an account shows its tabs: Overview, Edit, History, Gallery, Files, and then Permissions and Actions. Overview, Edit, Gallery and Files work as described in Records.

  • Overview shows the email address, names, custom fields, Created on and Edited on, with Delete and Duplicate buttons.
  • Edit changes Email address, First name, Last name, Thumbnail and the custom fields. Changing the email address changes what the person signs in with.
  • History lists what happened to the account and what the account did. Its Events filter has Changes to this account (created, edited, sign-ins and sign-outs, QR sign-ins, password and two-factor changes, lockouts) and Actions by this user (everything the person did anywhere in the app). See History.

Accounts are not inventory records: they are never soft-deleted, so a deleted account can't be restored.

Permissions

The Permissions tab sets the role and what a User may do in each area. Change the values and click Save.

Permissions tab

Role switches between User and Admin. Choosing Admin sets every area to Create/Edit/Delete and locks them, as an admin has everything. Switching back to User brings back the levels the account had before.

Below it is one level per area, in sidebar order: Items, Items - Blueprints, Assemblies, Assemblies - Blueprints, Invoices, Maintenance, Categories, Partners, Locations, Customers. Individual and lot items share Items; individual and lot blueprints share Items - Blueprints.

Each area takes one of four levels, and each level includes the ones above it:

Level What it allows in that area
None No access. The sidebar entry is greyed out, opening one of its pages shows the No access page, and its records appear as plain names, not links, on other pages. Its Overview cards and Attention events are not shown.
View only Open the list and every record, search, filter, export, download gallery pictures and files, and print QR labels. Nothing can be changed.
Create/Edit Also create, edit, duplicate and import records, edit several at once, assign and move them, adjust stock, and add or remove gallery pictures and files.
Create/Edit/Delete Also delete records, one at a time or several at once.

The levels are the same for every record in the area: there is no "own records only". A level never hides rows; it only limits what the person can change. A button the person may not use is greyed out.

Some pages need more than one area:

  • The Items sidebar entry opens with either Items or Items - Blueprints; the Assemblies entry with either Assemblies or Assemblies - Blueprints.
  • The Order list tab needs Items - Blueprints, also where it appears under Assemblies.
  • The Maintenance tab of an item or assembly also needs Maintenance.
  • Deleting an assembly together with its items also needs Create/Edit/Delete on Items.
  • Labels for items need Items; labels for assemblies need Assemblies.
  • On the phone app, scanning items into an assembly needs Create/Edit on Assemblies, and onto an invoice Create/Edit on Invoices.

Some changes are refused, and the control is greyed out:

  • You can't change your own role.
  • You can't take Admin away from the last active admin.
  • A disabled account's permissions are locked until you enable it again. It keeps its levels while disabled.

Actions

The Actions tab holds everything that is not a field of the account.

Actions tab

Disabled

Switch on Disabled and click Save to stop the account from signing in. Every session the account has open ends at once, phones included. At the sign-in page the person sees "Account is disabled", but only after typing the right password. Switch it off and save to let the account sign in again.

You can't disable your own account or the last active admin.

Unlock account

JAI Tool counts failed sign-ins, wrong passwords and wrong two-factor codes alike:

  • 5 failures from one address lock the account on that address.
  • 15 failures from any addresses lock the account everywhere.

A lock lasts 15 minutes after the last failed try, and while it lasts even the right password is refused. The Locked out column shows the minutes left.

Unlock is active only while the account is locked. Click it and confirm with Unlock to clear the failed tries from every address at once. Setting a new password through a set password link also unlocks the account.

Remove two-factor authentication

This row appears while two-factor authentication is Optional or Required in System settings. Remove 2FA is active only for an account that has two-factor set up.

Click it and confirm with Remove 2FA to clear the account's authenticator key, for example after a lost phone. Every session the account has open ends too. If two-factor is Required, the person sets up a new authenticator at the next sign-in; if Optional, they sign in with the password alone until they add it again in User settings. Removing it from your own account signs you out.

Click Create link to make a set password link for the account. Each click makes a new link, valid for 15 minutes from that click. Click Copy link to copy it, or, where the browser can't copy (the app is not on https), select it from the box that appears. Give the link to the person; opening it lets them choose a new password.

Use it for a new account when email is off, or when someone forgot their password and email is off. With email on, people can also use Forgot password on the sign-in page themselves; see Signing in.

Delete

Click on the row, or Delete on the account's Overview. If the account has nothing assigned, the dialog asks "Delete email?". If items or assemblies are assigned to the account, it asks "Delete email and assign these to location?" and lists them. Click Delete to confirm.

Warning

A deleted account is gone for good. It does not appear in Restore deleted and can't be brought back.

Deleting an account also:

  • Moves every item and assembly assigned to it to the Warehouse location for new items set in System settings.
  • Takes it off maintenance records it maintained: where it was the only maintainer, the maintainer becomes Other with its email address as the text; where others were listed too, it is just removed from the list.
  • Removes its gallery pictures and files.

History entries the person made keep their email address.

You can't delete your own account or the last active admin. To keep someone's history and assignments but stop them signing in, disable the account instead.

Import

Import reads accounts from a CSV file; the general rules are in Import from CSV. Select template offers three parts:

Users creates new accounts, one per row:

Column What it takes
email Required, unique. A row whose email is already in use is refused.
first_name Required.
last_name Required.
cf_... One column per custom field.

Imported accounts are always User with no permissions. With email on, each new account is emailed a set password link; otherwise the link is on its Actions tab.

Permissions sets the Permissions tab of existing accounts, one row per account:

Column What it takes
email Required. An account already in the list.
admin true or false. Blank keeps the role. On a true row, leave every level blank: an admin has them all.
items, item_blueprints, assemblies, assembly_blueprints, invoices, maintenance, categories, partners, locations, customers none, view, edit or delete. Blank keeps the level.

The same rules as on the tab apply: no changes to a disabled account, and no taking Admin from yourself or the last active admin.

Custom fields defines the custom fields of accounts; see Custom fields.

Tips

  • Give each person their own account: History records who did what, and a shared account makes it meaningless.
  • Keep at least two active admins, so one can unlock, reset or re-enable the other.
  • Start a new User with View only where they only need to look, and raise levels when they need them.
  • Disable people who leave instead of deleting them, unless you want their account gone for good.