The Usuarios page is available to administrators and controls who can log in to Botica Nova Salud. Each user account is linked to an employee record and assigned a role that determines their permissions within the system. All passwords are stored as SHA-256 hashes — plain-text passwords are never saved. Route:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/15aozzz/Lab-Nova-Salud/llms.txt
Use this file to discover all available pages before exploring further.
/usuarios
What you can do on this page
- List all users — view all accounts with their username, linked employee, and role.
- Search users — filter the list by typing a username in the search bar.
- Create a new user — open the creation form, choose an employee from the directory, and set a username and password.
- Edit a user — update the username, password, or linked employee for any existing account.
- Delete a user — remove an account that is no longer needed.
Roles
The system defines two roles:Administrador
Full access to all pages, including Usuarios, Productos, Clientes, and all reporting features. Administrators can create and manage other user accounts.
Cajero
Access to the sales workflow and day-to-day operational pages. Cajeros can record sales on Nueva Venta and view Comprobantes, but do not have access to user management.
Test accounts
After running theboticanovasalud_final.sql setup script, two accounts are available for testing:
| Username | Password | Role |
|---|---|---|
admin | admin123 | Administrador |
cajero1 | admin123 | Cajero |
Creating a user
When creating a new account you need to provide:| Field | Description |
|---|---|
| Username | Unique login name for the account |
| Password | Initial password — stored as a SHA-256 hash |
| Empleado | The employee from the directory this account belongs to |