So in trying to upgrade a small app of ours from Jmix 1.5.x to 2.x, I have this as a compilation stopper.
We make heavy use of io.jmix.security.authentication.RoleGrantedAuthority.ofResourceRole
(and ofRowLevelRole
) - these seem to be gone.
Were they moved, or replaced? We use this pretty commonly to set up default users on a new system.