added fancyTree correct behaviour if the user cannot edit