mnurena/WinAppPermisosRoles
42.4
Weak · 20 September 2026
1.2k
lines of production code
VB.NET
primary language
1
measurement over time
What this system is
This system is a Windows Forms application designed for managing user permissions and roles within a database-backed environment. It provides a secure interface for authenticating users, assigning roles such as Administrator or Cashier, and managing access rights through a centralized security module that handles password hashing and encrypted connection strings. The application features a hierarchical navigation tree and supports localized UI elements, with all data persistence handled via SQL Server stored procedures.
Features
Add localized resource strings for UI and security labels
The application now includes a strongly-typed resource file (Resource.resx/Resource.Designer.vb) containing localized strings for UI elements such as File Tree nodes (File, New, Open, Print, Save, Save As) and security/permission messages (Key, Role Permission Error, Save Success). This enables the interface to display these labels in the configured culture and supports the new form for generating encrypted connection strings by providing the necessary text resources.
Resources · high confidence
Initial database schema and seed data for user permissions
The script/SQL-BDPERMISOS.sql file introduces the foundational database structure for the application's security model. It creates the BDPERMISOS database along with tables for users (usuarios\_BF), roles (roles\_BF), and user-role assignments (usuarios\_rol\_BF), alongside a PERMISOS view to aggregate permissions. The script also seeds the database with default roles (Administrator, Supervisor, Cashier, Salesperson, Dispatcher) and initial user accounts, and defines stored procedures (SP\_USU\_INSERT, SP\_USU\_INSERT\_ROL, SP\_USU\_LIST) to manage user and role creation and listing.
script · high confidence
UI layout updates and connection string encryption utility
The application now includes a new form (genCadena) that allows users to encrypt database connection strings before storing them in App.config, enhancing security for sensitive credentials. Additionally, the user list interface (ListaUsuarios) has been updated with a larger layout, renamed buttons (Edit/Add), and improved validation to prevent errors when no row is selected in the user grid.
(repo-wide) · high confidence
Behavioural changes
Application startup now launches the login screen instead of the main roles interface
The application's entry point has been changed so that it opens the LoginForm1 window on startup, replacing the previous default of opening the RolPermisos (roles/permissions) form. This change is reflected in both the Application.myapp configuration and the Application.Designer.vb code. Additionally, the project metadata has been updated to include a description identifying the system as a user permissions and roles system by MNURENA AND MANU, set the company to PROGRAMACIONX.NET, and changed the copyright to Free Software. A new app.manifest file was also added to explicitly define the application's requested execution level as 'asInvoker'.
My Project · high confidence
Centralized security, encrypted connection strings, and new user management capabilities
The application now uses a centralized security module to handle password hashing and text encryption, replacing the previous standalone verification class. Database connections are no longer hardcoded; instead, the connection string is retrieved from configuration and decrypted at runtime using the new security module, improving credential safety. Additionally, the user management layer has been extended with new functions to retrieve user login details and add new roles via stored procedures, while the JSON serialization logic for the navigation tree has been updated to support resource-based localization and a more robust node structure.
clases · high confidence
Refactored NodeDto model to support nested tree structures
The model for tree-view data structures has been refactored to support deeper nesting levels. A new base class, BaseNodo, was introduced to consolidate common properties (Id, Name, Value) shared by node types. The previous NODOPADRE and NODOHIJO classes now inherit from this base class. Crucially, the child node class (NODOHIJO) has been updated to include a SubNodo property, allowing for recursive, multi-level tree hierarchies instead of the previous flat parent-child structure. Additionally, a new module (inicio) was added to store global system variables like the current user login and JSON string.
model · high confidence
Dependencies
Project configuration updated for publishing and new form resources
The WinAppPermisosRoles project file has been updated to enable ClickOnce publishing settings, including the addition of an application manifest and bootstrapper packages for .NET Framework 4.7.2. Additionally, the project now references the System.Configuration assembly and includes new compiled forms (frmNuevo, genCadena) and model classes (inicio), along with their associated resource files and a new security module, while removing the legacy XML reading and password verification classes.
(dependencies) · medium confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 42.
Lenses
- Code Health 86
- Architecture 69
- Maturity 40
- Readiness 23
- Security 100
Changes since last survey
- 22 commits — 21 feature/other, 1 fixes
By area
- (root) — 19 commits
- (repo) — 1 commit
- clases/json.vb — 1 commit
- obj/Debug — 1 commit
Notable commits
- fix: [Fix] Add validation and Resources
- change: AGREGANDO NUEVOS ELEMENTOS AL json
- change: AGREGANDO SEGURIDAD Y ASIGNANDO PERMISOS A BOTONES EN FORMULARIOS
- change: Aadding license file
- change: Actualización
- change: Add files via upload
- change: Agregando otro nivel al treeview.
- change: Asignando permisos de Roles al MENU de navegación
- change: Corrigiendo ERROR de GENERAR JSON en json.vb
- change: Create CODE_OF_CONDUCT.md
- change: Create README.md
- change: Form for generating encrypted connection string
- change: Implementando permisos en menu y formularios
- change: Merge branch 'master' of https://github.com/mnurena/WinAppPermisosRoles
- change: More Info
- change: Update README.md
- change: [Development] Add Node level 3
- change: [Development] Add Node level 3
- change: [Development] Add structure
- change: [Development] add Structure - first load
- …and 2 more
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
mnurena/WinAppPermisosRoles was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 20 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 6404becc6ce25d3386e0985e3eed7ee20e5950dc — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-b51f968c9b10.