Delete my account: export offered first, then everything, including the files on disk #33
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Postulo/postulo#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Raised as an open question in #22 and worth its own issue, because deletion is the one operation where a half-measure is worse than nothing. A person leaving a shared instance — or a job search that ended well — should be able to remove everything themselves, without asking an administrator.
Two facts shape it:
OwnedModel.ownerwithon_delete=CASCADE(core/models.py), and allauth's email addresses cascade too. Deleting the user row deletes the data.UploadedDocument.file,RenderedDocument.file, and soon avatars (#7) and logos (#21) would stay on disk underMEDIA_ROOT, readable by nobody and deleted by nobody. A deletion that leaves a person's CV on the server has not deleted anything.Shape
manage.py delete_account <email>for operators, with a confirmation prompt.OwnedModelsubclass has zero rows for that owner and no file under their prefix remains. The suite already sweeps every view forfor_user(); this is the same sweep for deletion.Classification
Enhancement. Not breaking: a new page and service; nothing changes for anyone who does not press the button.
Open questions