Hi.
I created the new Jmix project from scratch - Jmix 1.1.0, db postgres. Entered only project name, project type (the first one from the list) and swithc to postgresl db instead default.
Andrey, thank you very much. It works after I assigned a role to new user.
Why some default role with minimum access is not assigned when creating a new user? It’s a bit confusing that a new user can’t login with correct username and password.
At least other exception can be thrown in case of no role assigned.
We cannot give any minimal UI permissions to new users automatically, because there may be users that are not allowed to enter UI, for example REST integrations.
We’ll think about throwing a different exception on login, but even now you should have seen a warning in the application console about the reason why the user cannot login. Anyway, thanks for the feedback, we’ve added a note about the ui-minimal role to the docs: Users :: Jmix Documentation