#On user deletion, targets are not deleted

5 messages · Page 1 of 1 (latest)

blissful parcel
#

This has been mentioned here: https://discord.com/channels/564160730845151244/1295830646039515146
and as a Github issue here: https://github.com/appwrite/appwrite/issues/8725
I would expect Appwrite (using 1.6.1) to delete the targets related to a user when that user is deleted. But this is not the case. The targets have to be deleted first, before deletion of the user. Otherwise they can't be re-targeted (so to speak 😉 ).
Is this on purpose? Is there another way to clean-up targets after user deletion?

GitHub

👟 Reproduction steps Register new user in an app. The user gets created and his e-mail is automatically added into his list of Targets. Delete the user from the Auth tab in the web UX. 👍 Expected b...

blissful parcel
#

The bug report is tagged as closed (completed), but this is still an issue. The deletes worker should handle deleting targets, but it's either too slow or there's some other problem.

#

On user deletion, targets are not deleted

quick roost
#

i usually create target_ids similar to session_ids, when i log out i delete the target first then logout, this helps me to have only needed targets

mild jungle