Warn users not to destroy $wgGroupPermissions
authorRob Church <robchurch@users.mediawiki.org>
Mon, 6 Aug 2007 11:36:01 +0000 (11:36 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 6 Aug 2007 11:36:01 +0000 (11:36 +0000)
includes/DefaultSettings.php

index 6413cc1..cfdf8ab 100644 (file)
@@ -1011,6 +1011,11 @@ $wgEmailConfirmToEdit=false;
  * combined with the permissions of all groups that a given user is listed
  * in in the user_groups table.
  *
+ * Note: Don't set $wgGroupPermissions = array(); unless you know what you're
+ * doing! This will wipe all permissions, and may mean that your users are
+ * unable to perform certain essential tasks or access new functionality
+ * when new permissions are introduced and default grants established.
+ *
  * Functionality to make pages inaccessible has not been extensively tested
  * for security. Use at your own risk!
  *