Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.526
diff -u -p -r1.526 system.install
--- modules/system/system.install	27 Nov 2010 20:25:44 -0000	1.526
+++ modules/system/system.install	29 Nov 2010 04:44:08 -0000
@@ -2927,14 +2927,14 @@ function system_update_7066() {
 }
 
 /**
- * Allow all users to view the administration theme.
+ * Inform sites about the new permission for viewing the administration theme.
  */
 function system_update_7067() {
-  // Preserve the site's current behavior of automatically allowing all users
-  // to view the administration theme whenever they have access to an
-  // administrative page.
-  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('view the administration theme'));
-  user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('view the administration theme'));
+  // Display the upgrade message only to sites that are using an administration
+  // theme.
+  if (variable_get('admin_theme')) {
+    drupal_set_message('The new "View the administration theme" permission is required in order to view your site\'s administration theme. You can assign this permission to your site\'s administrators on the <a href="' . url('admin/people/permissions', array('fragment' => 'module-system')) . '">permissions page</a>.');
+  }
 }
 
 /**
