Follow-up r77555: Add a commented out line with the new disableaccount right
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 2 Dec 2010 10:47:01 +0000 (10:47 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 2 Dec 2010 10:47:01 +0000 (10:47 +0000)
includes/DefaultSettings.php

index 1bd0d69..7ab734b 100644 (file)
@@ -3200,6 +3200,11 @@ $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
 // For private suppression log access
 #$wgGroupPermissions['suppress']['suppressionlog'] = true;
 
+// Permission to disable user accounts
+// Note that disabling an account is not reversible without a system administrator
+// who has direct access to the database
+#$wgGroupPermissions['bureaucrat']['disableaccount']  = true;
+
 /**
  * The developer group is deprecated, but can be activated if need be
  * to use the 'lockdb' and 'unlockdb' special pages. Those require