Open Issues Need Help
View All on GitHubAI Summary: Refactor the technician registration to use the existing `Usuario` entity with the `Role.TECNICO` role. This involves modifying the controller, leveraging the `UsuarioService` for saving, assigning the correct role, and ensuring password encryption. The goal is to unify user and technician data into a single `Usuario` table for centralized authentication.
O sistema de Helpdesk de Chamados de TI permite que usuários registrem problemas técnicos e técnicos possam gerenciá-los e resolvê-los.
AI Summary: Update the `UsuarioService` to include a method for creating technician users. This involves adding a `cadastrarTecnico` method that takes a `UsuarioRequest` DTO, applies existing validation rules (unique email, required fields), and uses a `PasswordEncoder` to securely store the encrypted password. The goal is to centralize user creation logic within `UsuarioService`.
O sistema de Helpdesk de Chamados de TI permite que usuários registrem problemas técnicos e técnicos possam gerenciá-los e resolvê-los.