Import endpoint does not accurately respond to import requests for analyses on UD studies that are not shared (analysis copy IS performed but should not be!). So need to fix that. But also, the response when import is disallowed should tell the caller why not. Failure cases are:
(404) Analysis does not exist
(403) Study for this analysis does not exist
(403) Study for this analysis does exist and is a curated study but user does not have access (via dataset access)
(403) Study for this analysis does exist and is a user study but user does not have access to the dataset (via UD sharing)
Import endpoint does not accurately respond to import requests for analyses on UD studies that are not shared (analysis copy IS performed but should not be!). So need to fix that. But also, the response when import is disallowed should tell the caller why not. Failure cases are:
Depends on https://github.com/VEuPathDB/service-dataset-access/issues/59