Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
dolbeew committed Sep 30, 2024
1 parent afd2090 commit 067a40f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ public ResponseEntity<ApiStudyList> listStudies(
Integer offset,
Integer limit) {
ResourceCollection authorizedStudyIds =
allStudies ? ResourceCollection.allResourcesAllPermissions(STUDY, null) :
accessControlService.listAuthorizedResources(
allStudies
? ResourceCollection.allResourcesAllPermissions(STUDY, null)
: accessControlService.listAuthorizedResources(
SpringAuthentication.getCurrentUser(),
Permissions.forActions(STUDY, READ),
offset,
Expand Down

0 comments on commit 067a40f

Please sign in to comment.