Bon dia Rogerio,
I m testig last RC3 and I have found an error while editing Users Profiles and assigning Unit permissions.
What I see is that it is posible to select same Unit and profile several times but when saving, its trigger a duplicate key error:
An exception occurred while executing 'INSERT INTO lotacoes (usuario_id, unidade_id, perfil_id) VALUES (?, ?, ?)' with params [1, 1, 1]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'lotacao_usuario_unidade_idx'
I think that select box should not allow to choose same unit twice.
Obrigado!!
Juan