I am importing the user base of my old app in my JMIX application, and am having some issues while importing them. I am being able to create the user entities and generate the encrypted passwords. However none of the users will be able to login.
I am using a JMX Bean to perform the import, with the following code as the main code snippet:
But still need to set ui-minimal manually through the role management screens. Have a big bunch of users. So I would appreciate being able to code that one step.
And note that in Jmix everything is not permitted by default.
For quick initial testing you can assign “system-full-access” resource role.
In real scenario you should design some roles for imported users beforehand.