Deleting a user via the REST API does not delete their user preferences
Bug #1418276 reported by
Andrew Stuart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
High
|
Abhishek |
Bug Description
The on_delete function in rest/users.py appears to not delete user preferences when the user is deleted resulting in an accumulation of orphaned preferences data.
def on_delete(self, request, response):
"""Delete the named user, all her memberships, and addresses."""
if self._user is None:
return
for member in self._user.
for address in self._user.
tags: | added: mailman3 |
Changed in mailman: | |
assignee: | nobody → Ankush Sharma (black-perl) |
Changed in mailman: | |
assignee: | Ankush Sharma (black-perl) → Abhishek (abhi170893) |
Changed in mailman: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Deleted the preferences of the user being deleted before deleting him.