Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-…
Browse files Browse the repository at this point in the history
…7-part-two
  • Loading branch information
steph-ieffam committed Jan 26, 2024
2 parents 97555b0 + 77421f6 commit d05a5d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Page<QATopicRest> findBySource(@Parameter(value = "source", required = tr
}

@SearchRestMethod(name = "byTarget")
@PreAuthorize("hasPermission(#target, 'QUALITYASSURANCETOPIC', 'READ')")
@PreAuthorize("hasPermission(#target, 'ITEM', 'READ')")
public Page<QATopicRest> findByTarget(@Parameter(value = "target", required = true) UUID target,
@Parameter(value = "source", required = true) String source,
Pageable pageable) {
Expand Down

0 comments on commit d05a5d6

Please sign in to comment.