But now as per requirements we need to use new role - permission implementation , and when we remove the mentioned app.properties attributes we are getting
Attempt of login to WEB for user 'RememberMeCredentials{login='admin'}' without cuba.gui.loginToClient permission
22:33:39.163 INFO c.h.c.s.a.AuthenticationServiceBean - Login failed: com.haulmont.cuba.security.global.LoginException: Unknown login name or bad password 'admin'
system-full-access role gives all permissions and can be used for creating administrators having all rights to the application. The built-in admin user has this role by default.
After that you will be able to login as admin and to rework your roles.
As for this:
system-full-access role gives all permissions and can be used for creating administrators having all rights to the application. The built-in admin user has this role by default.
That is true for projects created on CUBA 7.2. If they were migrated from 7.1 then admin doesn’t have the system-full-access role. This role must be explicitly assigned to him.
Hi
I followed all the steps but couldn’t log-in. I tried both user: admin and pass: admin as well as user: admin and my password.
Where is the log:
22:47:13.432 [http-nio-8080-exec-31] WARN com.haulmont.cuba.security.auth.checks.ClientTypeUserAccessChecker - Attempt of login to WEB for user 'LoginPasswordCredentials{login='admin'}' without cuba.gui.loginToClient permission
Hi Max
I have run the sql to update that you have provided. Note that I have multi tenants Add-on used in the project, is there anything Related to that may require additional update?