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

Anonymize project applicants and participants on creative delete #45

Open
simonbaese opened this issue Jun 15, 2022 · 1 comment
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@simonbaese
Copy link
Member

The user references in the project fields participants and applicants should be anonymized on user deletion. At the moment, fetching user references for non-existent users will result in an empty "response". Therefore, it is not a problem to leave the references for now. Replacing the reference with the anonymous user has the benefit that we can deliver it to the front-end and display that there was a relation.

Note that the related field participant_tasks is a little quirky at the moment. Therefore, its order needs to be respected and eventually updated as well! One should consider refactoring it - but that is a little harder (proper field type).

See logbook_user_delete for some example queries.

@simonbaese simonbaese added enhancement New feature or request good first issue Good for newcomers labels Jun 15, 2022
@simonbaese
Copy link
Member Author

This will also apply to project results and their respective comments. But there is a refactoring planned for project comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant