[openstreetmap/openstreetmap-website] Account deletion cool-down period (PR #4313)

mmd notifications at github.com
Wed Oct 25 17:27:15 UTC 2023


> What causes the difficulty when the account is deleted? Is it because deleted users are unlinked in the web interface? Or is it something else that causes difficulties?

That's probably the biggest issue. It's near impossible to navigate through the list of all changesets created by a deleted users. Also third-party tools are struggling with deleted users, and fail to analyze such changesets: [Example OSMChag issue](https://github.com/mapbox/osmcha-frontend/issues/669).

> If the delay is e.g. 48 hours (as the tests suggest) doesn't that mean there will be the original problem after 49 hours?

In my original proposal I mentioned 28 days, which should leave plenty of time to inspect changesets, and give vandals less of an incentive for a hit-and-run kind of behavior. I find 48 hours a bit short for the purpose of reviewing changesets.

> You mention "a few weeks" whereas the proposed tests suggest "48 hours" and the documentation in settings.yml only describes the settings of "24" 

I think part of this complication is caused by the way how the time since the last edit is calculated. Since we're using the creaed_at timestamp, there might be a time period of up to 24 hours, where the changeset might potentially still be open, and further changes could occur. What we really want for this calculation is the timestamp when the last edit was uploaded, though it seems it's a bit difficult to easily access that information (due to lack of proper database index).





-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4313#issuecomment-1779736227
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4313/c1779736227 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231025/a5cecb49/attachment-0001.htm>


More information about the rails-dev mailing list