Skip to content

Commit d642f38

Browse files
authored
Fix role assignment history JS
1 parent abc6d7c commit d642f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/edu/harvard/iq/dataverse/ManagePermissionsPage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,10 +701,10 @@ public String getSignedUrlForRAHistoryCsv() {
701701
//Including /v1 in these urls is required for the signature to validate
702702
if (dvObject instanceof Dataverse dv) {
703703
// For Dataverses, use the dataverses API endpoint with the alias
704-
apiPath = "/api/v1/dataverses/" + dv.getAlias() + "/permissions/history";
704+
apiPath = "/api/v1/dataverses/" + dv.getAlias() + "/assignments/history";
705705
} else if (dvObject instanceof Dataset) {
706706
// For Datasets, use the datasets API endpoint with the ID
707-
apiPath = "/api/v1/datasets/" + dvObject.getId() + "/permissions/history";
707+
apiPath = "/api/v1/datasets/" + dvObject.getId() + "/assignments/history";
708708
} else {
709709
// For other types (like DataFile), return null or a default path
710710
return null;

0 commit comments

Comments
 (0)