CentralAuth logs off on rename
Closed, DeclinedPublic


When a user with SUL account Foo asks for a username rename, say the rename of local account Foo2 into Foo, CentralAuth logs Foo off.

Version: unspecified
Severity: normal

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz32077.
ToAruShiroiNeko created this task.Via LegacyOct 31 2011, 3:32 PM
Reedy added a comment.Via ConduitOct 31 2011, 11:36 PM

I believe the username and id are stored in the cookies, so this is not possible to fix. It's hardly a big issue

Platonides added a comment.Via ConduitOct 31 2011, 11:38 PM

A user renaming someone else to his own name? That isn't allowed. I think you
used too much Foos :)
Try adding some Bar.

ToAruShiroiNeko added a comment.Via ConduitNov 1 2011, 7:23 PM

Why would username and/or ID change for a SUL account when a non SUL username is moved into a SUL username?

It is certainly mildly irritating, hardly a major issue but never the less it is a bug.

Username renames are allowed for SUL usernames.

ToAruShiroiNeko added a comment.Via ConduitFeb 18 2012, 9:37 PM

Just to point out the rename logs off on all wikis not just the wiki user was renamed on.

A user seeking a SUL rename would have a constant case of this as b'crats on individual wikis will not be renaming all at the same time.

The log off does not happen to the previous SUL account.

ToAruShiroiNeko added a comment.Via ConduitFeb 26 2012, 10:52 AM

This really causes people to make IP edits. I do not see how cookies are relevant to be honest.

Platonides added a comment.Via ConduitMar 3 2012, 10:46 PM

There's no way they open the editor logged in and save as IP. They would get a message about loss of session data, or open the editor already logged out.
Albeit admitedly that's easy to skip.

ToAruShiroiNeko added a comment.Via ConduitApr 15 2012, 2:23 PM

This is what happens. You are making edits normally. One second you are logged in, the other you are logged out because of renames of accounts on an unrelated wiki.

The renamed account isn't part of the SUL of the editing account so I really do not see why a rename in Spanish wikipedia affects a user editing Japanese wikisource.

Platonides added a comment.Via ConduitApr 15 2012, 3:32 PM

So the problem is that when unattached account Foo is renamed into Bar, the SUL account Foo is logged out?

ToAruShiroiNeko added a comment.Via ConduitApr 17 2012, 3:41 PM

No. When an account from Foo is renamed into Bar, the user of the SUL Bar account is logged out. So the rename target is logged out.

In my case both Foo and Bar are my own SUL accounts. During the transition I got logged off at my Bar account every time a SUL Foo account was detached and renamed to Bar.

I suspect the problem would happen even if an unrelated account is renamed to Bar.

Nemo_bis added a comment.Via ConduitMay 6 2012, 9:04 PM

This behaviour could be a feature, not a bug. It happens that accounts are renamed and then recreated under the wrong name by automatic account creation, maybe logging out is useful?

ToAruShiroiNeko added a comment.Via ConduitMay 7 2012, 6:11 AM

How is it useful? It ONLY makes people make IP edits mid-edit! You are logged in when you click the edit button, and then you are logged off by the time you click save unless you make sure you are logged in.

A notification is present in preferences if user pays attention to global accounts and that is only if user expects the account rename. If user didn't even make the request it only appears like a random log off.

The logged out account and the renamed account has no relation aside from sharing the name. Any bureaucrat or steward can log-off a user by renaming an account on a wiki they never had edits.

This is particularly bad for those who want a SUL rename with multiple requests on multiple wikis. B'crats do not rename accounts all at once. You will be forced to log back in possibly multiple times an hour.

Legoktm added a comment.Via ConduitOct 20 2014, 9:41 PM

This is intentional.

MarcoAurelio raised the priority of this task from "Normal" to "High".Via WebMay 5 2015, 6:14 PM
MarcoAurelio moved this task to Done on the MediaWiki-extensions-CentralAuth workboard.

Add Comment