Overview
The Módulo de Perfiles page lists all profiles registered in the system. From here you can create new profiles, edit existing ones, view their details, and delete them. Access requires thebitConsulta permission on the PERFIL module. Without it, the application redirects you to / before the page renders.
Filtering profiles
Two filters are available:
Filters apply automatically with a 400 ms debounce. Click Limpiar to reset.
The administrator flag
Each profile has abitAdministrador boolean. This flag is informational — it is displayed as a badge in the table (“Sí” / “No”) but does not automatically grant any specific permissions. Permissions are always controlled explicitly through the permissions matrix.
Creating a profile
Click Nuevo Perfil to open the creation form. This button requires bothbitConsulta and bitAgregar on the PERFIL module.
1
Enter a profile name
Provide a descriptive name in
strNombrePerfil (e.g., “Administrador”, “Ventas”, “Solo Lectura”). This field is required — the form will not submit if it is blank.2
Set the administrator flag
Check Administrador if this profile represents a system administrator role. This is optional and defaults to unchecked.
3
Save the profile
Click Guardar Registro. The new profile is immediately available for assignment to users and in the permissions matrix.
Editing a profile
Click the edit icon on any row to update the profile name or administrator flag. This requiresbitEditar on the PERFIL module. Changes take effect immediately and are reflected in the user directory.
Deleting a profile
Click the delete icon on any row and confirm the dialog. This requiresbitEliminar on the PERFIL module.
Assigning profiles to users
A profile is assigned to a user through the Assigned profile dropdown on the user creation or edit form in User management. A user can only have one profile at a time.Permission gates
Actions on the profiles page are gated by thePERFIL module:
Profile data model
Theperfil table is defined in server/database/schema.ts:
Related pages
User management
Assign profiles to individual users.
Permissions matrix
Configure the module permissions granted to each profile.