Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Feb 15, 2025
1 parent d521d6a commit 1046a01
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/java/edu/harvard/iq/dataverse/PermissionsWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,18 +258,6 @@ public boolean canIssuePublishDatasetCommand(DvObject dvo) {
return canIssueCommand(dvo, PublishDatasetCommand.class);
}

public boolean canSeeCurationStatus(DvObject dvo) {
boolean creatorsCanSeeStatus = JvmSettings.UI_SHOW_CURATION_STATUS_TO_CREATORS.lookupOptional(Boolean.class).orElse(false);

if (canIssuePublishDatasetCommand(dvo)) {
return true;
}

if (creatorsCanSeeStatus) {
return canIssueCommand(dvo, UpdateDatasetVersionCommand.class);
}
return false;
}

// For the dataverse_header fragment (and therefore, most of the pages),
// we need to know if authenticated users can add dataverses and datasets to the
Expand Down

0 comments on commit 1046a01

Please sign in to comment.