Routes
| Route | Description |
|---|---|
/usuarios-staff | Staff user list |
/usuarios-detalle-staff | Staff user detail |
/usuarios-staff-crear | Create a new staff user |
/usuarios-staff-editar | Edit an existing staff user |
Staff list
The list page at/usuarios-staff shows all staff accounts in a searchable, paginated table.
Columns
| Column | Description |
|---|---|
| Nombre | Staff member’s name, avatar, and account type |
| Último Acceso | Date and time of the most recent login |
| Estatus | Activo (green) or Inactivo (red) chip |
| Correo Electrónico | Email address |
| Acciones | Eye icon to open the staff detail view |
Only users with the
create usersStaff permission see the Crear Usuario button. If you do not see this button, your account type does not include staff creation privileges.Staff detail view
Navigate to/usuarios-detalle-staff?type=staff&id={user_id} to open a staff member’s profile. The page has three sections:
- Profile banner — displays the staff member’s photo, name, and account type.
- Introduction card — shows full name, email address, phone number, and full address (street, city, and country).
- Security card — displays account security information and status.
Creating a staff user
Open the creation form
From the staff list, click Crear Usuario (visible only with
create usersStaff permission). This opens /usuarios-staff-crear.Upload a profile photo (optional)
Click Cargar to select a JPG, GIF, or PNG image. Maximum file size is 800 KB. Click Reiniciar to remove a selected image.
Select the account type
Choose the staff hierarchy level from the Perfil del Usuario dropdown. Available types are loaded from the platform setup configuration (
staff_hierarchy).Set a password
Enter and confirm a password. The password must be at least 6 characters. Use the eye icon to toggle password visibility.
Fill in personal details
Complete the following required fields:
- Nombre — full name
- Correo Electrónico — email address (must be unique in the system)
- Tipo de Identificación — document type (e.g. V, E, P)
- Número de Identificación — numeric ID number
- Teléfono — international phone number (defaults to Venezuelan format)
Fill in address details
Complete the address section:
- País — country (selected from the configured locations list)
- Código Postal — postal code
- Ciudad — city
- Dirección — street address
Save the user
Click Guardar. TMT calls the
create_staff Firebase Cloud Function to create the Auth0 account and Firestore document. If a profile photo was uploaded, it is stored in Firebase Storage at u_staff/{uid}/profile_picture.jpg and the URL is saved to the user record. You are redirected to /usuarios-staff on success.Editing a staff user
Navigate to/usuarios-staff-editar?id={user_id} to edit an existing staff member. The form pre-populates with the current user data fetched from the u_staff Firestore collection. Update any field and click Guardar to save changes.