User Administration
Description, Purpose and Objective
NOTE
The User Administration view is the section of the platform that allows you to control the access of staff and collaborators to the system, managing their credentials, personal data and security profiles.
A User is any account with active credentials that logs into the system under a given role. The platform classifies accounts into three main types: Internal User (direct collaborator who has a supervisor and assigned office), External User (staff or indirect client) and Patient User (final recipient of health services with clinical metrics such as weight and height).
The objective of this module is to centralize account management, guaranteeing that each person is correctly identified and has only the access that corresponds to them.
Context of Use
This module is used by organization Administrators to:
- Register new collaborators: Register employees (internal users) with their respective contractual information and supervision.
- Create accounts for clients or contractors: Enable external users.
- Register patients: Register health users (patients) linked to service providers.
- Credential support: Change forgotten passwords or temporarily suspend access (deactivate) accounts for security or job separation reasons.
Possible Actions
1. View and List Users
Displays a table with all the users registered for the organization, detailing their name, email, role, user type (internal, external or patient) and activity status.

2. Add a New User
To create an account, click the add button corresponding to the required user type:
Add User
- Click "Add User".

- Fill out the form with the basic information:
- Personal Information: Name, surname, email, telephone, address, neighborhood, city, country and preferred language.
- Identification: Type, number and date of issue of the document, and date of birth.
- Security: Status, position and assignment of Organizations and Roles.

Organization and Role Assignment (Standard and Internal Users)
NOTE
The Organizations and Roles section applies to Standard Users and Internal Users, during both initial creation and subsequent editing, enabling definition of the corporate entities the user belongs to and the access roles they hold within each.
The platform enables associating the user with one or multiple organizations, configuring distinct roles for each:
Organization Selection:
- In the "Organization" input (placeholder "Seleccione una organización para asignar"), search and select the target entity.
- Automatic Exclusion: Organizations already assigned to the user are automatically excluded from the options to prevent duplicates.
- Reactive Reset: Clearing the input or clicking ✕ automatically unchecks the selected roles, preventing accidental carryover across organizations.
Roles and Main Role Selection:
- Check the roles the user will perform in the selected organization. Roles are presented ordered hierarchically by level.
- In the "Main Role" dropdown, explicitly select which of the checked roles serves as the primary role.
- Click "Add Organization" to append the configuration to the assigned organizations table.

Assigned Organizations Table:
- Alphabetical Order, Search and Pagination: Organizations are displayed sorted in alphabetical order by name. Filter assigned organizations by name in real time and navigate in pages of 5 items via pagination controls (Previous / Next).
- Assigned Roles Column: Displays the main role highlighted with a badge, and for multi-role organizations, a neutral
+# morepill. Hovering over this pill displays an organized tooltip detailing all assigned roles. - Default Organization (
is_default): Toggle the switch column to set the default organization upon login. Adding the first organization sets it as default automatically.

- Direct Organization Editing: Click the edit icon (✏️) to reload an organization and its roles into the top form for direct adjustments without having to delete and re-enter. Discard edits at any time via the "Cancel editing" button below the main role selector.
- Deletion: Click the delete icon (🗑️) to remove an assigned organization.
Click "Add" to create the account.

Add Internal User
- Click "Add internal user".
- Complete the form information:
- Basic & Identification Information: Same personal, address, and identification fields as the standard user.
- Corporate Structure: Assigned office, direct supervisor and department to which it belongs.
- Travel Documentation: Passport and date of issue of the passport.
- Organizations and Roles: Follows the same organization assignment, hierarchical role selection, primary role designation, and default organization toggle detailed in the previous section.
- Click "Save" to create the record.
Add External User and Patient: Customer and Role Assignment
NOTE
Unlike standard and internal users (who link to Organizations), External Users and Patients are contractually associated with Customers (CustomerRoles).
- Click "Add external user" or "Add patient" as appropriate.
- Complete the form details:
- Basic & Identification Information: Personal, contact, residential, and identification data.
- Clinical Fields (Patients only): Weight (in kilograms), height (in centimeters) and patient's profession.
- Customers and Roles Section:
- Customer Selection: In the "Customer" field (placeholder "Seleccione un cliente para asignar"), search and select the target customer. Customers already assigned are automatically excluded from the options to prevent duplicates. Clicking ✕ automatically unchecks any selected roles.
- Roles Grid and Main Role: Upon choosing a customer, the available roles grid opens. Check the applicable roles and designate the primary role via the "Main Role" autocomplete.
- Add Customer Button: Click "Add customer" to append the association.
- Assigned Customers Table: Lists associated customers sorted alphabetically by company name, with a real-time search box, 5-row pagination, primary role badge,
+# moreinteractive pill with multiline tooltip of secondary roles, and a delete button (🗑️) to remove the client.
- Click "Add" or "Save" to confirm creation.
3. Edit a User
To modify contact, employment, or security profile details of a registered user:
- Locate the user in the table and click "Edit" (pencil icon ✏️).

- The form will load with the current information. Make any necessary changes to address, title, phone, or departments.
- Adjust Roles According to User Type:
- Standard and Internal Users (Organizations and Roles): Directly adjust linked organizations via the pencil icon (✏️) in the table, link new organizations, update the default login organization (
is_default), or remove organizations with the trash icon (🗑️). - External Users and Patients (Customers and Roles): Associate new customers along with their main and secondary roles through the modern grid layout, search through assigned customers, or remove entries via the trash icon (🗑️).
- Hierarchical Role Edit Lock: If the logged-in user does not possess a role level higher than or equal to that of the edited user (
canEditRoles === false), role modification fields are locked, and an informational lock banner warns that role edits are restricted.
- Standard and Internal Users (Organizations and Roles): Directly adjust linked organizations via the pencil icon (✏️) in the table, link new organizations, update the default login organization (
- Click "Update" to save changes.

WARNING
For security and login integrity (authentication) reasons, the email address cannot be modified once the account has been created. 
4. Delete a User
To permanently delete a user account:
- Locate the record and click "Delete" (trash icon 🗑️).

- confirm the action in the confirmation modal.

CAUTION
Deleting a user is permanent and will erase their direct connection with the organization. If the user has associated historical records (such as process uploads or results entries), it is recommended to change their status to Inactive instead of deleting the account to preserve data traceability.
5. Activate or Deactivate User
Allows you to quickly suspend or restore access to the platform without having to delete the user's historical data:
- Click the status switch or icon in the corresponding user's row.


- The system will toggle the Are You Active? between Yes (access allowed) No (access temporarily denied).

6. Change Password from the Administrator
Allows you to safely redefine the password of a user who has forgotten their access credentials:
- Click the key icon or "Change Password" in the actions column.

- In the pop-up form, enter the new password and confirm it in the corresponding verification field.

- Click "Change Password" to save.
7. Export User List
To download the organization's user database, click the download icon in the upper right corner. A file in .CSV format will automatically download with the account information.

8. Search User
To search for any user by name or other character, type the first name, last name, username, email, phone number, etc., in the search bar

Roles and Permissions Required
Access to these global system parameters is restricted to the General Administrator or Platform Support role. Requires the following permissions:
- Geographic and UI parameters:
country_read,state_read,languages_readandmenus_read. - Entities and Licensing:
memberships_read,system_products_readandconfig_refs_read. - Traceability:
tags_readandincident_tracking_read(for incident tracking). - Write Actions: Permissions with corresponding
_createand_updatesuffixes to modify system tables.