r48251 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48250‎ | r48251 | r48252 >
Date:01:50, 10 March 2009
Author:aaron
Status:deferred
Tags:
Comment:
Make sure 'user' is restricted too
Modified paths:
  • /trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php
@@ -88,7 +88,10 @@
8989 $wgFileStore['accountcreds']['url'] = null; // Private
9090 $wgFileStore['accountcreds']['hash'] = 3;
9191
 92+# Restrict account creation
9293 $wgGroupPermissions['*']['createaccount'] = false;
 94+$wgGroupPermissions['user']['createaccount'] = false;
 95+# Grant account queue rights
9396 $wgGroupPermissions['bureaucrat']['confirmaccount'] = true;
9497 # This right has the request IP show when confirming accounts
9598 $wgGroupPermissions['bureaucrat']['requestips'] = true;

Status & tagging log