Overview
The Catálogo de Módulos page lists all application modules. From here you can create new modules, edit their names, view their details, and delete them. Access requires thebitConsulta permission on the MÓDULO module. Without it, the application redirects you to / before the page renders.
Filtering modules
A single search filter is available: a case-insensitive partial match onstrNombreModulo. The filter applies with a 400 ms debounce. Click Limpiar to reset.
Creating a module
Click Nuevo Módulo to open the creation form. This button requires bothbitConsulta and bitAgregar on the MÓDULO module.
1
Enter a module name
Provide the name for the module in
strNombreModulo (e.g., USUARIO, PERMISOS-PERFIL, INVENTARIO). This name is the key used in RBAC lookups throughout the application.2
Save the module
Click Guardar Registro. The module is immediately available in the permissions matrix.
3
Assign permissions
After creating the module, navigate to the Permissions matrix and configure which profiles can access it and what actions they can perform.
Editing a module
Click the edit icon on any row to rename the module. This requiresbitEditar on the MÓDULO module.
Deleting a module
Click the delete icon on any row and confirm the dialog. This requiresbitEliminar on the MÓDULO module.
Menu association
Themenu table links modules to navigation menu items. Each row in menu associates a menu entry (idMenu) with a module (idModulo). This allows the sidebar navigation to show or hide items based on whether the current user has bitConsulta on the linked module.
Permission gates
Actions on the modules page are gated by theMÓDULO module:
Module data model
Themodulo table is defined in server/database/schema.ts:
Related pages
Permissions matrix
Assign permissions to each profile for every module registered here.
Role-based access control
Understand how modules, profiles, and permission flags work together.