Update getFileThumbnailById implementation to use authentication #195
Labels
pm.GREI-d-2.7.1
NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows
pm.GREI-d-2.7.2
NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows
Overview of the Feature Request
We need to update the implementation of the
getFileThumbnailById
method of the FileJSDataverseRepository to incorporate authentication. This update is necessary once the Data Access API is enhanced to support new authentication methods (currently it is using cookie authentication)What kind of user is the feature intended for?
All of them
What inspired the request?
The inspiration behind this feature request is to enhance security and access control for the
getFileThumbnailById
functionality. With the introduction of new authentication methods in the Access Data API, it is essential to align thegetFileThumbnails
implementation accordingly to ensure secure access to file thumbnails.What existing behavior do you want changed?
Currently, the
getFileThumbnails
function does not utilize authentication when retrieving file thumbnails. The Access Data API is using the cookie authentication by default, but this would be removed in the future, so in that moment we'll need to update the SPA implementation.Any brand new behavior do you want to add to Dataverse?
Modify the
getFileThumbnails
implementation to incorporate authentication based on the updated Access Data API.With this feature, the
getFileThumbnails
function will use the latest authentication methods provided by the Access Data API to ensure that only authorized users can access file thumbnails.Any open or closed issues related to this feature request?
The text was updated successfully, but these errors were encountered: