throw new InvalidWikiRequestException("Could not find parent node with id: " + parentNodeId);
getLog().debug("initalized with parent node: " + parentNode);
// Check write access level of the parent node, if the user wants to create a new node
if (!isPersistAllowed(node, parentNode))
throw new AuthorizationException("You don't have permission for this operation");
// Default to same access permissions as parent node
node.setWriteAccessLevel(parentNode.getWriteAccessLevel());
node.setReadAccessLevel(parentNode.getReadAccessLevel());
writeAccessLevel = getAccessLevelsList().get(