Page MenuHomePhabricator

Give other extensions a chance to stop auto creation
Closed, ResolvedPublic

Description

Including:

  1. Auto creation on view, this was done in r67345 and r67346.
  2. Auto creation on user login, depends on bug 23802.

Assigning this bug to myself. I can do it after bug 23802 is fixed.


Version: unspecified
Severity: enhancement

Details

Reference
bz24755

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:07 PM
bzimport set Reference to bz24755.
liangent created this task.Aug 11 2010, 6:10 PM
brion added a comment.Apr 5 2011, 1:20 AM

The patch on bug 23802 doesn't really cover this use case (where we want other extensions to be able to abort some auth plugin's auto-creation), so I've removed it as a dependency.

r85409 should handle this, as for the TitleBlacklist case in bug 24756 / bug 14629 :

  • (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by other extensions by handling the 'AbortAutoAccount' hook, similar to the 'AbortNewAccount' triggered by explicit account creations. (They are separate to avoid loops and confusion; auth plugins like CentralAuth need to handle AbortNewAccount separately.