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

Delete resources (datasets, users, annotations) #4668

Open
normanrz opened this issue Jun 16, 2020 · 3 comments
Open

Delete resources (datasets, users, annotations) #4668

normanrz opened this issue Jun 16, 2020 · 3 comments

Comments

@normanrz
Copy link
Member

Currently, there is no way to delete datasets from webKnossos. Similarly, there are only ways to archive/deactivate annotations and users. I think this creates confusion for new users.

Maybe we could rename archive/deactivate to a delete action. There could still be a trash from which the data can be recovered indefinitely, but it might be clearer wording.

For expensive resources such as datasets, we could have a delete action that moves the data into a trash folder which auto-clears after x days. That would make datasets easily recoverable in case of error, but eventually remove them entirely. Removed datasets could be represented as tombstones ⚰️ in the database to not break references.

@normanrz
Copy link
Member Author

@philippotto
Copy link
Member

For expensive resources such as datasets, we could have a delete action that moves the data into a trash folder which auto-clears after x days.

Not sure whether this auto-clearing was already implemented, but I'd find it more safe to only remove datasets which have been more than X days in the trash. If this information is not available via filesystem metadata, we might want to store it ourselves?
Not super critical, probably, but something we should keep in mind.

@normanrz
Copy link
Member Author

normanrz commented Aug 3, 2020

I don't think that is implemented yet. But what you say is what I actually meant :D
I think this could be implemented outside of wk as a cronjob.

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

No branches or pull requests

3 participants