feat(api): ProductsController + ExceptionFilter Product cases, fix permiso count to 27 (PRD-002)

This commit is contained in:
2026-04-19 13:17:31 -03:00
parent 733ca0e2e2
commit 165abc8245
5 changed files with 581 additions and 8 deletions

View File

@@ -51,8 +51,9 @@ public class AuthControllerTests
// V013 (ADM-008) adds 'administracion:puntos_de_venta:gestionar' → 23
// V014 (ADM-009) adds 'administracion:fiscal:gestionar' → 24
// V016 (CAT-001) adds 'catalogo:rubros:gestionar' → 25
// V017 (PRD-001) adds 'catalogo:tipos:gestionar' → 26 total
Assert.Equal(26, permisos.GetArrayLength());
// V017 (PRD-001) adds 'catalogo:tipos:gestionar' → 26
// V018 (PRD-002) adds 'catalogo:productos:gestionar' → 27 total
Assert.Equal(27, permisos.GetArrayLength());
}
// Scenario: invalid credentials return 401 with opaque error