labCreationRequestRepository.save(request);
}
@Override
public void editLabInfo(long actor, long labId, LabInfo labInfo) {
if (!validator.canEditLabDetails(actor, labId)) throw new AccessDenied("Couldn't edit lab");
final Lab lab = findLab(labId);
final User labHead = findOrCreateLabHead(labInfo.labHead);
changeLabHead(lab, labHead);
lab.setName(labInfo.labName);
lab.setInstitutionUrl(labInfo.institutionUrl);