@Atomic public static void remove(final ThesisEvaluationParticipant thesisEvaluationParticipant) { final Thesis thesis = thesisEvaluationParticipant.getThesis(); if (!AccessControl.getPerson().hasRole(RoleType.SCIENTIFIC_COUNCIL)) { thesis.checkIsScientificCommission(); } final ThesisParticipationType type = thesisEvaluationParticipant.getType(); thesisEvaluationParticipant.delete(); if (!thesis.isCreditsDistributionNeeded()) { thesis.setCoorientatorCreditsDistribution(null); } }