Commit 507eee39 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

translation to integer is not required anymore

parent 5530cbd7
Pipeline #45295 failed with stage
in 16 minutes and 14 seconds
......@@ -112,8 +112,8 @@ public class OverlayController extends BaseController {
@PreAuthorize("hasAuthority('IS_ADMIN')" +
" or hasAuthority('IS_CURATOR') and hasAuthority('READ_PROJECT:' + #projectId)" +
" or hasAuthority('READ_PROJECT:' + #projectId) and " +
" (@dataOverlayService.getOverlayCreator(this.getId(#overlayId))?.login == authentication.name " +
" or @dataOverlayService.getDataOverlayById(this.getId(#overlayId))?.public == true)")
" (@dataOverlayService.getOverlayCreator(#overlayId)?.login == authentication.name " +
" or @dataOverlayService.getDataOverlayById(#overlayId)?.public == true)")
@GetMapping(value = "/{overlayId}/models/{modelId}/bioEntities/")
public MappingJacksonValue getOverlayElements(
@PathVariable(value = "projectId") String projectId,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment