Page MenuHomePhabricator

Blocked privileged accounts prevent migration
Closed, ResolvedPublic

Description

Author: thomas.dalton

Description:
This is just based of my reading of the code, I haven't actually tested it, so I may be completely wrong. However, looking at chooseHomeWiki() in CentralAuthUser.php, it seems that if there are multiple local accounts with the same name, only one of which is privileged, and that privileged account is blocked (or multiple privileged accounts, all of which are blocked), no account will "win". I think privileged accounts ought to have their block status checked before the

if( !$workingSet ) {

    // No privileged accounts; look among the plebes...
    $workingSet = $migrationSet;
}

bit.


Version: unspecified
Severity: normal

Details

Reference
bz13671

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:08 PM
bzimport set Reference to bz13671.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 13512 ***