Skip to content

Commit

Permalink
Added control on the copy of the application, in case you can submit …
Browse files Browse the repository at this point in the history
…your application to the target call.
  • Loading branch information
mspasiano committed Jun 15, 2024
1 parent a35e3ca commit a0e1e85
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,9 @@ else if (!application.getParentId().equals(call.getId()))
throw new ClientMessageException(
i18nService.getLabel("message.error.bando.cannot.submit.application.spid", locale));
}
groupCanSubmitApplication(call, loginUser, locale);
if (!loginUser.isAdmin()) {
groupCanSubmitApplication(call, loginUser, locale);
}
// In un bando di mobilità può accedere solo un non dipendente
// Se application è vuoto vuol dire che si sta creando la domanda e
// quindi l'utente collegato non deve essere un dipendente
Expand Down

0 comments on commit a0e1e85

Please sign in to comment.