Wiki limit uploads to autoconfirmed users
authorGrant Slater <git@firefishy.com>
Fri, 25 Dec 2015 18:32:32 +0000 (18:32 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 25 Dec 2015 18:32:32 +0000 (18:32 +0000)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 24118f459bc3697c367a18c1cd6cedc532eb6ca2..ce4f07229db2086bf1d043583a9d9a2cec58bd60 100644 (file)
@@ -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;