So I migrated my project to the post-7.2 style (by changing cuba.security.rolesPolicyVersion
from 1 to 2), and now admin
is no longer an admin. I’m looking in the DB to try to figure out how to fix it. There’s an entry in sec_user_role
for admin with a role_name
of system-full-access
(must have been put it automatically when I upgraded to 7.2?) but it seems to not work as admin doesn’t have access to anything.
What’s the best way to fix this? (Other than going back to cuba.security.rolesPolicyVersion
= 1 which I don’t want to do of course.)