From c009a7463f6c5e52f263fb97670643d2d45312c4 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 6 Aug 2007 11:36:01 +0000 Subject: [PATCH] Warn users not to destroy $wgGroupPermissions --- includes/DefaultSettings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 6413cc1eed..cfdf8ab5b3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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! * -- 2.20.1