dataverse-frontend icon indicating copy to clipboard operation
dataverse-frontend copied to clipboard

Dataset Page and File Page: restricted file(.tab format) cannot be accessed

Open ChengShi-1 opened this issue 7 months ago • 0 comments

What steps does it take to reproduce the issue? When user access to a restricted file Image http://localhost:8000/api/v1/files/4/dataTables leads an error {"status":"ERROR","message":"Insufficient permissions to access the requested information."} http://localhost:8000/api/v1/files/4 is still ok to be fetched

Also, a 404 error is shown fetching http://localhost:8000/spa/files?id=4 due to the error from dataTables, we may need to exclude dataTables api from the file metadata once it's restricted

  • When does this issue occur? When user access to a restricted file without permission

  • Which page(s) does it occur on? Dataset Page, File Page

  • What did you expect to happen?

ChengShi-1 avatar May 22 '25 18:05 ChengShi-1