From 0bd2e9495e711b68beccd2e1e3bed391afe4a805 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Sun, 16 Oct 2005 04:09:14 +0000 Subject: [PATCH] explain that whitelistread only works if group * doesn't have read permission --- includes/DefaultSettings.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 350e772011..4ab0c3bc96 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -703,21 +703,20 @@ $wgUseCommaCount = false; */ $wgHitcounterUpdateFreq = 1; -# User rights settings -# -# It's not 100% safe, there could be security hole using that one. Use at your -# own risks. - -$wgWhitelistRead = false; # Pages anonymous user may see, like: = array ( "Main Page", "Special:Userlogin", "Wikipedia:Help"); - +# Basic user rights and block settings $wgAllowAnonymousMinor = false; # Allow anonymous users to mark changes as 'minor' - $wgSysopUserBans = true; # Allow sysops to ban logged-in users $wgSysopRangeBans = true; # Allow sysops to ban IP ranges - $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire $wgBlockAllowsUTEdit = false; # Blocks allow users to edit their own user talk page +# Pages anonymous user may see as an array, e.g.: +# array ( "Main Page", "Special:Userlogin", "Wikipedia:Help"); +# NOTE: This will only work if $wgGroupPermissions['*']['read'] +# is false -- see below. Otherwise, ALL pages are accessible, +# regardless of this setting. +$wgWhitelistRead = false; + /** * Permission keys given to users in each group. * All users are implicitly in the '*' group including anonymous visitors; @@ -725,6 +724,9 @@ $wgBlockAllowsUTEdit = false; # Blocks allow users to edit their own user tal * combined with the permissions of all groups that a given user is listed * in in the user_groups table. * + * Functionality to make pages inaccessible has not been extensively tested + * for security. Use at your own risk! + * * This replaces wgWhitelistAccount and wgWhitelistEdit */ $wgGroupPermissions = array(); -- 2.20.1