You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The user management module allows the administrators to create or edit a user without a ROLE defined, this behavior causes the application hangs when this kind of user tries to login.
To Reproduce
Steps to reproduce the behavior:
Login into the application with admin credentials
Go to 'Manage users' from the right menu
Create or edit a user, using CTRL + click unselect all roles and click edit or create button
Validate and activate the user, then try to login using the user.
See the error in console and the application hanging
Expected behavior
Don't allow the user creation or edition without almost one role defined, or if has not a defined role set ROLE_USER by default
Screenshots
Environment
UTMStack v10.2 RC, can be tested on DEV
Additional context
DEV environment has an additional user already set, can be used for test
Possible solution
Don't allow the user creation or edition without almost one role defined, or if has not a defined role set ROLE_USER by default