]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb
Add the DisableAccount plugin to mediawiki sites
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-DisableAccount.inc.php.erb
diff --git a/cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb
new file mode 100644 (file)
index 0000000..7d0b2f4
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+require_once( $IP.'/extensions/DisableAccount/DisableAccount.php' );
+
+// Allow bureaucrats to disable users
+$wgGroupPermissions['bureaucrat']['disableaccount'] = true;