access.setRecursive(false);
} else if (isManagerGroup) {
access.leader();
access.setRecursive(true);
} else {
access.employee();
access.setRecursive(true);
}
accessDao.saveOrUpdate(access);
createAccessRights(taskNode.getParent(), group, isManagerGroup, false);
}