User Account Types

The Gateway supports two types of user accounts: Gateway Users and Dashboard Users.

📘

Every user account belongs to a single Tenant.

Gateway Users

Gateway Users are created through the standard CREATE_USER request flow exposed by the Gateway. You can find more details on Gateway's request flows at this link.

When a user is created through the CREATE_USER request flow, the account is automatically assigned the default authority (security role) configured for the Tenant in TenantConfig.signup.defaultAuthority.
As a result, users registered this way always have a single authority, corresponding to the configured default authority.

📘

The Tenant’s default authority can be changed at any time. When it changes, the authority for each Gateway User is automatically updated on their next authorized request, to match the new value configured for the Tenant.
The authority assigned to a Gateway User must always match the authorization requirements defined in the Routes configuration.

📘

The Gateway User will have a source property set to GATEWAY.


Dashboard Users

Dashboard Users are special user accounts created manually through the Configuration Dashboard API. They contain the same user data as Gateway Users, but their credentials and authorities can be managed at any time directly through the Dashboard API.

Unlike Gateway Users who can have only one authority, Dashboard Users can also be assigned any number of authorities (security roles), independently of the Tenant's default authority.

This allows Dashboard Users to be assigned elevated or specialized permissions for specific operations. For example, if the Tenant's TenantConfig.signup.defaultAuthority is set to USER, a Dashboard User can be assigned any authority, such as USER, ADMIN, MAINTAINER, or any other custom value. This is useful when certain Gateway Routes require higher authorization, such as an administrative Route accessible only to users with the ADMIN authority.

📘

When a Tenant’s default authority changes, this does not affect the authorities assigned to Dashboard Users. You must use the Dashboard API to manually update the Dashboard User’s authorities to match the authorization requirements defined in the Routes configuration.

📘

Dashboard Users do not go through the account confirmation flow, unlike Gateway Users. Therefore, Dashboard Users have the confirmed property set to true by default.

📘

The Dashboard User will have a source property set to DASHBOARD.


Did this page help you?