Tenants
A tenant is a customer organization that uses the application as an isolated, independent environment. Each tenant has its own users, roles, settings, definitions and transaction records, and cannot see the data of other tenants. The Tenants page (Administration > Saas > Tenants) is used by the host (system operator) to create tenants, assign editions, control activation and manage database connections.
The Tenants page is a host-side screen. It is visible only to host users who have the tenant management permissions; tenant users never see it.
Purposes of Tenants
- Creating a separate, isolated working environment for each customer.
- Assigning an edition that determines which features the tenant can use.
- Choosing which modules the tenant can use, and switching them on or off later.
- Controlling whether a tenant is active, active for a limited time or passive.
- Deciding whether the tenant uses the shared database or a dedicated database of its own.
- Supporting the tenant by signing in on its behalf or resetting its administrator password.
Tenant Operations
The tenant listing and registration pages provide standard functions such as exporting to Excel, filtering, and customizing field visibility. These functionalities are detailed under General System Usage.
Tenant List
The list shows the Tenant name, Edition name, Tenant activation end date and Activation state columns. The activation state is shown as an icon: a green check for Active, an orange clock for Active with limited time and a red cross for Passive. The list can be filtered by tenant name, edition name, activation end date and activation state (multiple states can be selected).
The row actions are:
- Edit: Opens the tenant's base information for editing.
- Features: Opens the feature values of the tenant (see Tenant Features).
- Modules: Opens the tenant's modules with an on/off switch for each (see Tenant Modules).
- Database connection strings: Opens the tenant's connection string settings.
- Login with this tenant: Signs in to the tenant as one of its users (impersonation).
- Set password: Sets a new password for a user of the tenant.
- Delete: Deletes the tenant after confirmation.
Tenant Definition Page
The New button opens the tenant creation form, which has three tabs: Base info, Modules and Database connection strings.
Base info:
- Tenant name: The unique name of the tenant. Required. Users enter this name when they sign in to the tenant.
- Tenant admin's email address: The e-mail address of the tenant's first administrator user. Required and must be a valid e-mail address. The administrator user is created with this address while the tenant is created. Shown only on creation.
- Tenant admin's password: The password of the tenant's first administrator user. Required. Shown only on creation.
- Edition: The edition assigned to the tenant. Optional. The tenant's available features come from this edition unless they are overridden for the tenant.
- Tenant activation state: Required. One of:
- Active: The tenant can be used without a time limit.
- Active with limited time: The tenant can be used until the activation end date.
- Passive: The tenant cannot be used.
- Tenant activation end date: The date and time after which the tenant becomes passive. Shown and required only when the activation state is Active with limited time.
- Language: The tenant's default language: English, Türkçe or Azərbaycanca. Default definitions created for the new tenant (categories, scales, reasons and the like) are created in this language. It is pre-filled with the installation's default language when that is one of these three, otherwise with English. Shown only on creation.
Modules:
The modules the new tenant can use, each shown as a checkbox with its name and module code. The modules of the product package are pre-checked; uncheck the ones the customer has not bought and check any additional ones. At least one module must be selected (Select at least one module.). The tenant cannot change this selection itself; the host switches the modules later with the Modules row action (see Tenant Modules). Only the selected modules are created as active in the new tenant; the others are created as passive.
Database connection strings:
- Use the shared database: When checked, the tenant's data is kept in the shared (host) database.
- Default connection string: Shown when Use the shared database is unchecked; it is then required. Enter the connection string of the tenant's dedicated database. The Test button checks whether the connection string is valid and shows The connection string is valid or The connection string is not valid.
When the tenant is saved, the system prepares its database (applies database migrations if the tenant has its own database) and seeds the default data (administrator user, roles, default definitions, modules and screens) in the background. If the database preparation fails, the tenant is still created; it is marked as needing a database migration and the seed is not run until the problem is fixed and the migrations are applied again.
When editing an existing tenant, only Tenant name, Edition, Tenant activation state and Tenant activation end date can be changed. The administrator e-mail address and the language cannot be changed after creation; the modules are changed with the Modules action.
Tenant Modules
The Modules action opens a window that lists the modules of the selected tenant, each with its name, module code and an on/off switch. A short note at the top reminds that the tenant cannot change its modules itself. This window is the only place where a tenant's modules are switched after the tenant has been created; inside the tenant there is no Modules menu, because module activation is the host's decision.
- Switching a module on: Turn the switch on. The module is activated immediately and the message Module switched on for the tenant. is shown.
- Switching a module off: Turning the switch off first asks for confirmation (Switch off ... for this tenant? Its menus, tasks and reports are hidden from the tenant's users.). After confirmation the module is deactivated and the message Module switched off for the tenant. is shown.
The change takes effect inside the tenant exactly as if the module had been switched there: the tenant's menus are rebuilt and the module's menus, tasks, notifications and reports are shown to or hidden from the tenant's users. Switching a module off does not delete any data of the tenant. See Modules for what changes when a module's status changes.
Tenant Features
The Features action opens a window listing the feature groups of the application and their values for the selected tenant. Values set here override the values coming from the tenant's edition. Saving the window stores the tenant-specific values.
Database Connection Strings
The Database connection strings action opens the same Use the shared database / Default connection string settings used on the creation form. When the default connection string of a tenant is changed, the system migrates and seeds the new database. Existing data is not moved from the old database to the new one; the new database starts empty, with the default administrator account.
Login with this Tenant
This action opens a window with a User name field (default admin). Confirming the window signs you in to the selected tenant as that user, so you can investigate problems or provide support from the tenant's own point of view. If the user cannot be impersonated, an error message is shown.
Set Password
This action opens a window with two required fields:
- User name: The user of the tenant whose password will be changed (default admin).
- Password: The new password. It must satisfy the password rules defined in the identity settings (length, required character types and so on); unmet rules are listed under the field.
Authorization and Access Control
Topics related to authorization and access control are detailed under User Management and Authorization.
The Tenants page is controlled by the Saas > Tenant management permission group:
- Tenant management: View the tenant list (required to see the menu item) and see a tenant's modules.
- Create: Create new tenants.
- Edit: Edit tenant base information and switch the tenant's modules on or off.
- Delete: Delete tenants.
- Manage features: Change tenant feature values.
- Manage connection strings: Change tenant database connection strings.
- Set password: Set passwords of tenant users.
- Impersonation: Use the Login with this tenant action.
- View change history: View the change history of tenants.
The SaaS permissions are reserved for the built-in admin role: other users who manage permissions cannot grant or revoke them.
Warnings and Error Messages
- Select at least one module.: No module is checked on the Modules tab of the creation form.
- Unknown module code: A module code sent for the tenant does not exist.
- Tenant name already exists: Tenant names must be unique; saving a tenant with an existing name is rejected.
- This field is required: Shown for an empty tenant name, administrator e-mail address, administrator password or activation state, for an empty activation end date when the state is Active with limited time, and for an empty default connection string when the shared database is not used.
- Please enter a valid email address: The administrator e-mail address is not in a valid format.
- The connection string is not valid: The connection string test failed, or the connection string entered for the tenant cannot be used.
- Tenant based connection string management is not enabled: The connection string of a tenant cannot be updated while the Enable tenant based connection string management setting is off.
User Tips and Best Practices
- Choose a short, meaningful tenant name: Users type it when signing in.
- Use a strong administrator password: Hand it over to the customer securely and ask them to change it after the first sign-in.
- Use limited-time activation for trials: Set Active with limited time with an end date for demo or trial tenants instead of remembering to deactivate them manually.
- Decide on the database before go-live: Changing the connection string later starts the tenant with an empty database.
- Select the bought modules at creation: Uncheck the modules the customer has not bought on the Modules tab, so the tenant's menu shows only what it uses from the first sign-in.
- Choose the language carefully: Default definitions are created in the selected language and are not translated later.
- Prefer editions over per-tenant features: Manage features at the edition level, and override them per tenant only for exceptions.
Frequently Asked Questions
What happens when a tenant becomes passive?
Users of a passive tenant cannot use the application. A tenant in Active with limited time state becomes unusable automatically after its activation end date.
Can I change the tenant administrator's e-mail address?
No. The administrator e-mail address is used only while creating the tenant and cannot be changed from this page afterwards. The administrator user itself can be edited inside the tenant from the Users page.
Is the data moved when I give a tenant its own database?
No. The new database is created and seeded with default data; existing records are not copied.
Can a tenant administrator switch modules on or off?
No. Which modules a tenant may use is the host's decision. The host switches them with the Modules action on this page; tenants have no Modules menu.
Is data deleted when I switch off a tenant's module?
No. The module's menus, tasks and reports are hidden from the tenant's users; its records are kept and become visible again when the module is switched on.
Where do the tenant's available features come from?
From the edition assigned to the tenant. Values set with the Features action on the tenant override the edition values for that tenant only.