diff --git a/package.json b/package.json
index ea41cdd..7880d00 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "epasmed",
- "version": "0.0.1-SNAPSHOT",
+ "version": "1.0.5",
"description": "Description for epasmed",
"private": true,
"license": "UNLICENSED",
diff --git a/pom.xml b/pom.xml
index f7126db..0e8cd39 100755
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
it.cnr.isti.epasmed
epasmed
- 1.0.4
+ 1.0.5
jar
epasmed
diff --git a/src/main/java/it/cnr/isti/epasmed/web/rest/sync/SyncResource.java b/src/main/java/it/cnr/isti/epasmed/web/rest/sync/SyncResource.java
index dc0c878..c75198b 100755
--- a/src/main/java/it/cnr/isti/epasmed/web/rest/sync/SyncResource.java
+++ b/src/main/java/it/cnr/isti/epasmed/web/rest/sync/SyncResource.java
@@ -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 syncSingleWritesTimeCards(@RequestParam("year") String year,
@RequestParam("month") String month, @RequestParam("fiscalCode") String fc) throws Exception {
logger.info("REST request syncSingleWritesTimeCards)");