Last modified: 2012-01-14 01:12:57 UTC
Created attachment 7430 [details] Add a parameter $user to autoCreate See the patch. This will not break any existing code.
I don't feel this is a good place to do it. The use case itself is a bit convoluted. The user name cannot be autocreated, but it can login if the global account exists. I think it would be easier to deny that user attaching global account. I don't think AuthPlugin::autoCreate() is the appropiate place for checking per-wiki autocreation policies.
I've removed this as dep for other bug since I don't think it actually helps the case where _another_ plugin should be making the determination. For the case where the auth plugin itself wants more control, possibly the newer external authentication interface provides more of that, but haven't had a chance to look it over.
Marked as reviewed per comment 1 and 2