How do I allow only authorized users to read pages

From PaulGuWiki

Jump to: navigation, search

In addition to authorized users to edit, add this to LocalSettings.php:

$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['user' ]['read'] = false;
$wgGroupPermissions['confirmed']['read'] = true;
 
// Put all pages everybody is allowed to view here. At least Special:Userlogin has to be in here
$wgWhitelistRead = array("Main Page", "Special:Userlogin");


modified on 7 April 2009 at 22:54 ••• total 1,452 views ••• Top