diff --git a/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/datalake/DataLakeWidgetResource.java b/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/datalake/DataLakeWidgetResource.java index 69a55c38b7..ff5fc4367f 100644 --- a/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/datalake/DataLakeWidgetResource.java +++ b/streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/datalake/DataLakeWidgetResource.java @@ -59,8 +59,8 @@ public ResponseEntity getDataExplorerWidget(@PathVariab path = "/{widgetId}", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) - @PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE + - " AND hasPermission(#dataExplorerWidgetModel.widgetId, '')") + @PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE + + " AND hasPermission(#dataExplorerWidgetModel.widgetId, '')") public ResponseEntity modifyDataExplorerWidget( @RequestBody DataExplorerWidgetModel dataExplorerWidgetModel ) { @@ -79,8 +79,8 @@ public ResponseEntity deleteDataExplorerWidget(@PathVariable("widgetId") S produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE ) - @PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE + - " AND hasPermission(#dataExplorerWidgetModel.widgetId, '')") + @PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE + + " AND hasPermission(#dataExplorerWidgetModel.widgetId, '')") public ResponseEntity createDataExplorerWidget( @RequestBody DataExplorerWidgetModel dataExplorerWidgetModel ) {