-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add option so that deleted users don't get deleted but are archived #108
Comments
Maybe convert each user into a deleted user |
Some existing Turk analysis workflows assume that the "WorkerId" field from the CSV files (which, for Turkle CSV files, is the value of the database field Because the stable WorkerId assumption is important, I don't think we should assign Task Assignments from deleted users to a single DeletedUser. I believe we need a mechanism to deidentify or decommission user accounts without deleting the User object (and associated TaskAssignment objects). This could be implemented by adding a new Django Admin action: https://docs.djangoproject.com/en/2.2/ref/contrib/admin/actions/ that overwrites identifying information associated with the User object. The ability to delete User objects (and associated TaskAssignments) should be restricted if not completely disabled. |
Agreed. I would prefer to keep the username and first and last names and remove their password hash and email address. The reason for this is being able to trace an annotation back to a user in case you later find out an issue with an annotator. |
Current idea is that deleting doesn't remove the user, but does the following:
Would have to change the UserManager to remove archived users. |
Currently, if a user is deleted you not only loose the assignments, but the completed status is not updated on the Batch/Task so annotators won't see it.
The DeletedUser will function like the AnonymousUser.
The text was updated successfully, but these errors were encountered: