@Override
 public boolean isAuthToEdit(UserDetails user, ContentAuthorizationInfo info)
     throws ApsSystemException {
   String mainGroupName = info.getMainGroup();
   return this.isAuthToEdit(user, mainGroupName);
 }
 @Override
 public boolean isAuth(UserDetails user, ContentAuthorizationInfo info) throws ApsSystemException {
   List<Group> userGroups = this.getAuthorizationManager().getGroupsOfUser(user);
   return info.isUserAllowed(userGroups);
 }