Skip to main content

Users and sign-in

People work in the console, and systems use API keys. This page covers people: who has access to a tenant, with which role, and how they sign in.


Roles and permissions​

What a user may do is defined by a set of permissions. Everyone with access to a tenant has one of three roles, and each role is a fixed set of permissions, the same in every tenant:

PermissionWhat it allowsMemberAdminOwner
price:read, article:read, pricelist:readRead prices, articles (with bundle rules and article VAT classes) and pricelistsYesYesYes
settings:readRead configuration, currencies, VAT, exchange rates, rounding, webhooks, the changelog and backupsYesYesYes
user:read, tenant:readSee who has access, and view the planYesYesYes
price:write, article:write, pricelist:writeCreate, change and delete prices, articles and pricelistsYesYes
user:writeInvite users, change roles, remove usersYesYes
apikey:read, apikey:writeSee, create, change, revoke and delete API keysYesYes
settings:writeChange configuration, currencies, VAT, exchange rates, rounding and webhooks; take and restore backups, and run maintenanceYes
grant:read, grant:writeSee and change who holds which permissionYes
tenant:write, tenant:deleteChoose how users sign inYes

No permission deletes the tenant. To end your subscription, contact us. The owners get an email with the day the subscription ends and the day its backups are erased, and another if those dates change or the termination is withdrawn.

price:publish and price:history:delete are not part of any role. They belong to features that are not available yet, publishing prices and deleting a historical price version, and currently allow nothing. A write permission does not include the read permission, so someone who changes prices also holds price:read.

To give someone a role, change their role or remove them, you need user:write and every permission of the roles involved. An admin can therefore manage admins and members, and only an owner can make someone an owner or change an owner's role. The person who requested the tenant is its first owner. A tenant always has an owner: its last owner can be given another role, or removed, only once someone else is an owner. You cannot remove yourself from a tenant; another user with the required permissions must do it.

A change to a signed-in user's role or permissions takes effect with their next access token, within 15 minutes.


Granting permissions​

A user can hold more permissions than their role gives. Settings → Permissions lists each user with their role and the permissions granted to them individually, and records every grant, revocation and role change, with who made it and when.

To grant a permission, select it on the user's row and choose Grant. To revoke one, close its tag. Both require grant:write. You can grant or revoke any permission that you hold yourself, as well as price:publish and price:history:delete, which are not part of any role; you can also grant these to yourself. A grant adds to the role and never removes anything from it. A user who is removed from the tenant loses the permissions granted to them.

Everything in the tenant is governed by these permissions: users, API keys and sign-in, and all work with the tenant's data, from prices to configuration and backups. The console locks what your permissions do not allow, and the API rejects the request and names the permission it requires.


Inviting users​

  1. Go to Settings → Users.
  2. Enter the person's email address and choose member or admin. Inviting requires user:write and every permission of the role you assign.
  3. Choose Invite.

The person receives an email with a sign-in link. The list shows them as invited until they sign in, and after that shows when they last signed in. To make someone an owner, invite them first, and change their role once they have signed in.

To remove a user, choose Remove on their row. They lose access to the tenant.


How users sign in​

An owner chooses the sign-in method under Settings → Sign-in:

  • Quantaprice directory (email link), the default: users enter their email address and sign in with a link sent to that address. There are no passwords.
  • Your identity provider (SSO): users sign in through your organisation's Google or Microsoft Entra ID account, which applies its own policies, such as multi-factor authentication. Register Quantaprice as an application with your provider, and enter the application's client ID. Ask support for the redirect URI to register.

Only someone signed in with an email link or with Google can administer users, permissions, API keys, sign-in and the plan. Someone signed in through Microsoft Entra ID can work with the tenant's data, but sees a notice instead of these tabs.


Moving between tenants​

If you have access to several tenants, for example a test tenant and a production tenant, the menu under your name in the console contains Switch tenant. It lists each tenant with your role there.

You can move between tenants that use email-link sign-in, and to and from the account portal, without signing in again. A tenant that uses your identity provider asks you to sign in through that provider.