Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into angular-17-to-18…
Browse files Browse the repository at this point in the history
…-novite
  • Loading branch information
julien-louis committed Nov 8, 2024
2 parents e31aa98 + 21a53d4 commit 98c020c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public interface ExaminationService {
@PreAuthorize("hasRole('ADMIN') or (hasRole('EXPERT') and @datasetSecurityService.hasRightOnExamination(#id, 'CAN_ADMINISTRATE'))")
void deleteById(Long id, ShanoirEvent event) throws ShanoirException, SolrServerException, IOException, RestServiceException;

@PreAuthorize("hasRole('ADMIN') or (hasRole('EXPERT') and @datasetSecurityService.hasRightOnExamination(#id, 'CAN_ADMINISTRATE'))")
@PreAuthorize("hasRole('ADMIN') or (hasRole('EXPERT') and @datasetSecurityService.hasRightOnExamination(#examinationId, 'CAN_ADMINISTRATE'))")
void deleteExaminationAsync(Long examinationId, Long studyId, ShanoirEvent event);

/**
Expand Down

0 comments on commit 98c020c

Please sign in to comment.