Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a 'delete dataset' register #810

Closed
mightymax opened this issue Oct 30, 2023 · 2 comments
Closed

Implement a 'delete dataset' register #810

mightymax opened this issue Oct 30, 2023 · 2 comments

Comments

@mightymax
Copy link

Currently users can submit their dataset using the API. The crawler removes a dataset if it is no longer available (if I understand correctly). There might be reasons for users to remove their dataset from the registry even though it still available. Users should be able to send a DELETE request on the API endpoint to delete their dataset.

The difficulty with deleting datasets using the API of course is unauthenticated use. Currently the API has no use authentication implemented. It might be worth considering implementing a JSON Web Tokens authorization/authentication scheme.

@ddeboer
Copy link
Member

ddeboer commented Nov 2, 2023

Hey @mightymax, interesting suggestion.

There might be reasons for users to remove their dataset from the registry even though it still available.

Keep in mind that you can keep the datasets themselves available, and serve a 410 from the registration URL only, i.e. the URL containing the dataset description that you submitted to the Register.

Still, you might want to keep those descriptions too, but have them removed from the Register. A solution is to register a catalog instead of individual dataset descriptions. If you then remove datasets from that catalog, the Register will pick up on that.

Of course, we already have a non-scaling, low-tech ‘solution’: dataset publishers can contact us, mailing from their organisation e-mail address, to have a dataset manually removed from the register.

Finally, please note that we don’t remove datasets from the Register yet; see #813.

@mightymax
Copy link
Author

Thanks for your response @ddeboer! I will have to settle for the low-tech ‘solution’, old-school contact-forms rule!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants