ePASMed version 1.0.5

This commit is contained in:
Giancarlo Panichi 2023-02-16 12:07:38 +01:00
parent 43f69757a8
commit 7413248596
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "epasmed",
"version": "0.0.1-SNAPSHOT",
"version": "1.0.5",
"description": "Description for epasmed",
"private": true,
"license": "UNLICENSED",

View File

@ -6,7 +6,7 @@
<groupId>it.cnr.isti.epasmed</groupId>
<artifactId>epasmed</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<packaging>jar</packaging>
<name>epasmed</name>

View File

@ -209,7 +209,8 @@ public class SyncResource {
*
*/
@GetMapping("/sync/writesSingleTimeCards")
@PreAuthorize("hasAuthority(\"" + AuthoritiesConstants.ADMIN + "\",\"" + AuthoritiesConstants.USER + "\")")
@PreAuthorize("hasAuthority(\"" + AuthoritiesConstants.ADMIN + "\") or hasAuthority(\"" + AuthoritiesConstants.USER
+ "\")")
public ResponseEntity<Void> syncSingleWritesTimeCards(@RequestParam("year") String year,
@RequestParam("month") String month, @RequestParam("fiscalCode") String fc) throws Exception {
logger.info("REST request syncSingleWritesTimeCards)");