Page MenuHomePhabricator

[IMPROVEMENT] Add a Special:OpenIDAdminAccountCreation page to allow account creation by admins when the wiki allows account creation for others only through OpenID
Closed, ResolvedPublic

Description

I have a situation where accounts should be createable by admins with passwords (for bots and such), but should only allow creation of accounts via openid otherwise. It would be nice to configure mediawiki to only allow sysops to create accounts, but still allow OpenID to create accounts.


Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51331
https://bugzilla.wikimedia.org/show_bug.cgi?id=56660
https://bugzilla.wikimedia.org/show_bug.cgi?id=54677

Details

Reference
bz46617

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:23 AM
bzimport set Reference to bz46617.
RyanLane created this task.Mar 27 2013, 9:34 PM

ok, I think I understand what you mean. ETA mid April 2013.

ETA end May 2013.

I am working on it.

Change 81629 had a related patch set (by Wikinaut) published:
Bug 46617: Allow account creation through OpenID when the wiki disallows for anons

https://gerrit.wikimedia.org/r/81629

pinging all, I do need some help, because the patch is not working as expected.
https://gerrit.wikimedia.org/r/#/c/81629/

The special page (account creation by mail)is listed, and can be accessed, but after having filled in data, the wiki with E:OpenID says "You are already logged in". I do know this message very well, but don't know, why my patch is not working.

perhaps a problem of my wrong
"class SpecialOpenIDCreateAccountByMail extends SpecialPage" ???
in https://gerrit.wikimedia.org/r/#/c/81629/10/SpecialOpenIDCreateAccountByMail.body.php or wrong context.

Please help me fixing it.

Change 81629 abandoned by Wikinaut:
Bug 46617: Always allow account creation for entitled users

Reason:
abandon this. starting with a new one.

https://gerrit.wikimedia.org/r/81629

Change 94977 had a related patch set (by Wikinaut) published:
Bug 46617: Always allow account creation for entitled users

https://gerrit.wikimedia.org/r/94977

Change 94977 had a related patch set (by Wikinaut) published:
Bug 46617: Always allow account creation for entitled users

https://gerrit.wikimedia.org/r/94977

Change 94977 had a related patch set (by Wikinaut) published:
Bug 54508: Add "provider only" mode; Bug 46617: allow Sysops to always create account

https://gerrit.wikimedia.org/r/94977

@Ryan, Chris, other reporters:

THIS is what you wanted. My invitation to code-review:
https://gerrit.wikimedia.org/r/#/c/94977/

Code is live on http://openid-wiki.instance-proxy.wmflabs.org/wiki/ .

Special:Version should show you "4.00 20131115"

Please test.
Please code-review.

Change 94977 had a related patch set (by Wikinaut) published:
Bug 54508: Add "provider only" mode; Bug 46617: allow Sysops to always create account

https://gerrit.wikimedia.org/r/94977

Change 94977 merged by Wikinaut:
Bug 54508: Add "provider only" mode; Bug 46617: allow Sysops to always create account

https://gerrit.wikimedia.org/r/94977