We'll need to be a bit careful about forum posts though I think. In contrast to a person's portfolio and files contained within it, forum posts are often part of a conversation and deleting them could destroy the conversation. I wonder, if that may need to be an option when the user is deleted. If forum posts are to be deleted, then there should be a placeholder post saying that the post was deleted rather than making it vanish altogether (like we already do when an admin deletes a post that is not the last in a conversation).
** Changed in: mahara Status: New => Triaged -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1686193 Title: Fully delete user (purge them) from the system Status in Mahara: Triaged Bug description: Currently when we call 'delete_user()' we delete most of the user's data but we leave some bits behind, like forum posts and obfuscate the user's email address in the usr table. But it would also be useful to add a 'purge' option to delete_user() function so that we could delete all info about a user so it was like they never existed, including all files in the dataroot etc So in lib/user.php the function delete_user($userid) would become function delete_user($userid, $purge = false) And we'd add just before the db_commit() an if($purge) { } section to deal with full cleanup. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1686193/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp