// success
}
// adding jcr:nodeTypeManagement privilege will grant permission to copy.
modifyPrivileges(parentPath, PrivilegeRegistry.REP_WRITE, true);
wsp.copy(srcPath, destPath);
}
public void testWorkspaceMove() throws RepositoryException, NotExecutableException {
Workspace wsp = getTestSession().getWorkspace();
String parentPath = childNode.getParent().getPath();