dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b417c0f
)
explain that whitelistread only works if group * doesn't have
author
Erik Moeller
<erik@users.mediawiki.org>
Sun, 16 Oct 2005 04:09:14 +0000
(
04:09
+0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Sun, 16 Oct 2005 04:09:14 +0000
(
04:09
+0000)
read permission
includes/DefaultSettings.php
patch
|
blob
|
history
diff --git
a/includes/DefaultSettings.php
b/includes/DefaultSettings.php
index
350e772
..
4ab0c3b
100644
(file)
--- a/
includes/DefaultSettings.php
+++ b/
includes/DefaultSettings.php
@@
-703,21
+703,20
@@
$wgUseCommaCount = false;
*/
$wgHitcounterUpdateFreq = 1;
*/
$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'
$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
$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
$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;
/**
* 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.
*
* 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();
* This replaces wgWhitelistAccount and wgWhitelistEdit
*/
$wgGroupPermissions = array();