Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
507eee39
Commit
507eee39
authored
Aug 11, 2021
by
Piotr Gawron
Browse files
translation to integer is not required anymore
parent
5530cbd7
Pipeline
#45295
failed with stage
in 16 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rest-api/src/main/java/lcsb/mapviewer/api/projects/overlays/OverlayController.java
View file @
507eee39
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment