The moderation team on the Discourse instance I admin received a request from a user who wanted to leave the forum. Specifically, they asked that their account be anonymized and that we remove their ability to log in to the forum in future. (We’re a login required, invite-only community.)
Around 12:30pm today I anonymized the account. Since I had read here and in other places on Meta that anonymization removes the ability to log in, I thought I was done. Around an hour later I received a message that the user was still able to read the forum and urgently wanted to be locked out. It occurred to me that even if anonymizing the account means the user can’t log back in, possibly that only takes effect once they log out, so I went to the anonymized profile and hit the Log Out button.
A little after 4pm I received a message that the user was still able to log in and desperately wanted not to be able to. I was confused but thought maybe a browser cache issue? Unlikely as that seems. But when I went to the anonymized profile, I could clearly see that they were still accessing the forum.
(I had renamed the account from anon566etc to RetiredMember566etc because we don’t allow anonymous posting and users had started to flag the anonymized posts, thinking there was some sort of issue.)
As far as I could see the anonymization procedure had worked as expected; the email address had been changed.
In the end I both deactivated the account and suspended the user, and one or other of those seems to have done the trick.
In this (admittedly slightly unusual) case, the user was the one who wanted not to be able to login, but in future if we anonymize an account the moderators and admins might want the user to lose access the forum. I can’t figure out what went wrong in this case - does anyone have any thoughts? We’re using commit 6e39bb9728, in case that helps.
Given the source code of Discourse how is this possible? Does anonymization not expire all auth and log user out?