You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dataverse can now track the history of role assignments, allowing administrators to see who assigned or revoked roles, when these actions occurred, and which roles were involved. This feature helps with auditing and understanding permission changes over time.
4
+
5
+
## Key components of this feature:
6
+
7
+
-**Feature Flag**: The functionality can be enabled/disabled via the `ROLE_ASSIGNMENT_HISTORY` feature flag (default is `off`)
8
+
-**UI Integration**: New history panels on permission management pages showing the complete history of role assignments/revocations
9
+
-**CSV Export**: Administrators can download the role assignment history for a given collection or dataset (or files in a dataset) as a CSV file directly from the new panels
10
+
-**API Access**: New API endpoints provide access to role assignment history in both JSON and CSV formats:
- The optional Croissant exporter has been updated to 0.1.6 to prevent variable names, variable descriptions, and variable types from being exposed for restricted files. See https://github.com/gdcc/exporter-croissant/pull/20 and #11752.
2
+
3
+
## Upgrade Instructions
4
+
5
+
### Update Croissant exporter, if enabled, and reexport metadata
6
+
7
+
If you have enabled the Croissant dataset metadata exporter, you should upgrade to version 0.1.6.
8
+
9
+
- Stop Payara.
10
+
- Delete the old Croissant exporter jar file. It will be located in the directory defined by the `dataverse.spi.exporters.directory` setting.
11
+
- Download the updated Croissant jar from https://repo1.maven.org/maven2/io/gdcc/export/croissant/ and place it in the same directory.
The ExportDataProvider framework in the dataverse-spi package has been extended, adding some extra options for developers of metadata exporter plugins.
2
+
See the [documentation](https://guides.dataverse.org/en/latest/developers/metadataexport.html#building-an-exporter) in the Metadata Export guide for details.
A new endpoint has been implemented to manage dataset terms of access for restricted files.
4
+
5
+
### Functionality
6
+
- Updates the terms of access for a dataset by applying it to the draft version.
7
+
- If no draft exists, a new one is automatically created.
8
+
9
+
### Usage
10
+
11
+
**Custom Terms of Access** – Provide a JSON body with the `customTermsOfAccess` object.
12
+
- All fields are optional **except** if there are restricted files in which case `fileAccessRequest` must be set to true or `termsOfAccess` must be provided.
The /api/admin/makeDataCount/{id}/updateCitationsForDataset endpoint, which allows citations for a dataset to be retrieved from DataCite, is often called periodically for all datasets. However, allowing calls for many datasets to be processed in parallel can cause performance problems in Dataverse and/or cause calls to DataCite to fail due to rate limiting. The existing implementation was also inefficient w.r.t. memory use when used on datasets with many (>~1K) files. This release configures Dataverse to queue calls to this api, processes them serially, adds optional throttling to avoid hitting DataCite rate limits and improves memory use.
2
+
3
+
New optional MPConfig setting:
4
+
5
+
dataverse.api.mdc.min-delay-ms - number of milliseconds to wait between calls to DataCite. A value of ~100 should conservatively address DataCite's current 3000/5 minute limit. A value of 250 may be required for their test service.
6
+
7
+
Backward compatibility: This api call is now asynchronous and will return an OK response when the call is queued or a 503 if the queue is full.
0 commit comments