VEuPathDB / EdaSubsettingService

A REST service to provide data and subsetting in the Exploratory Data Analysis Workspace
Apache License 2.0
0 stars 0 forks source link

Move metadata cache clearing endpoint so authentication not required #48

Closed ryanrdoherty closed 2 years ago

ryanrdoherty commented 2 years ago

Because of the dataset access changes to protect study data, endpoints under /studies have the @Authorized annotation. Even if we don't use the user's identity, it means the clear-metadata-cache endpoint can no longer be called from a browser because it requires the Auth-Key header. e.g. this will work:

curl -H "Auth-Key:220698270" https://qa.restricted.clinepidb.org/eda/studies/clear-metadata-cache

We need to move this to its own top-level URL i.e. eda/clear-study-metadata-cache; doing so will require a docker-compose update to route the new path.