VEuPathDB / web-eda

Web browser code for EDA-based applications
Apache License 2.0
0 stars 0 forks source link

Import analysis: Handle service response with status 403 #1570

Closed dmfalke closed 1 year ago

dmfalke commented 1 year ago

Depends on https://github.com/VEuPathDB/EdaUserService/pull/22

The client should handle this response and display the following message to the user:

Unable to import this analysis. You do not have access to the study. Please login or request access from the owner of the study.

danicahelb commented 1 year ago

@dmfalke will this fix the bug with shared user studies?

danicahelb commented 1 year ago

when a user shares an analysis based on a user study with someone who does not have access to that user study. previously the analysis would be imported into the user space in the user database and the person getting access would be getting a 404.

ryan made a change, this issue is about having the client handle the change and see a more user friendly message

danicahelb commented 1 year ago

we need to improve the page/message when a user attempts to access a shared analysis but they do not have access to the study (curated or user study) -or if the owner shares the wrong url.

danicahelb commented 1 year ago

QA is paused, shared user datasets not be installed in ClinEpiDB due to a server error.