From e34bb268e632fa13cdbf8965fc7ca5d858f7d131 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 25 Dec 2015 18:32:32 +0000 Subject: [PATCH] Wiki limit uploads to autoconfirmed users --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 24118f459..ce4f07229 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -168,9 +168,11 @@ $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['move'] = false; $wgGroupPermissions['user']['movefile'] = false; $wgGroupPermissions['user']['move-categorypages'] = false; +$wgGroupPermissions['user']['upload'] = false; $wgGroupPermissions['autoconfirmed']['move'] = false; $wgGroupPermissions['autoconfirmed']['movefile'] = false; $wgGroupPermissions['autoconfirmed']['move-categorypages'] = false; +$wgGroupPermissions['autoconfirmed']['upload'] = true; #Allow bureaucrat group access to oversight options $wgGroupPermissions['bureaucrat']['hideuser'] = true; -- 2.39.5