? sites/all/modules/devel
? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.569
diff -u -p -r1.569 theme.inc
--- includes/theme.inc	13 Jan 2010 05:40:03 -0000	1.569
+++ includes/theme.inc	13 Jan 2010 19:43:19 -0000
@@ -2012,7 +2012,7 @@ function template_preprocess_username(&$
   }
   $variables['name'] = check_plain($name);
 
-  $variables['profile_access'] = user_access('access user profiles');
+  $variables['profile_access'] = user_access('access user info pages');
   $variables['link_attributes'] = array();
   // Populate link path and attributes if appropriate.
   if ($variables['uid'] && $variables['profile_access']) {
Index: modules/comment/comment.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v
retrieving revision 1.63
diff -u -p -r1.63 comment.test
--- modules/comment/comment.test	11 Jan 2010 16:25:16 -0000	1.63
+++ modules/comment/comment.test	13 Jan 2010 19:43:21 -0000
@@ -1070,7 +1070,7 @@ class CommentRdfaTestCase extends Commen
     parent::setUp('comment', 'rdf');
 
     $this->admin_user = $this->drupalCreateUser(array('administer content types', 'administer comments', 'administer permissions', 'administer blocks'));
-    $this->web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'create article content', 'access user profiles'));
+    $this->web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'create article content', 'access user info pages'));
 
     // Enables anonymous user comments.
     user_role_change_permissions(DRUPAL_ANONYMOUS_RID, array(
Index: modules/contact/contact.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.pages.inc,v
retrieving revision 1.40
diff -u -p -r1.40 contact.pages.inc
--- modules/contact/contact.pages.inc	9 Jan 2010 23:03:21 -0000	1.40
+++ modules/contact/contact.pages.inc	13 Jan 2010 19:43:21 -0000
@@ -285,5 +285,5 @@ function contact_personal_form_submit($f
 
   // Jump to the contacted user's profile page.
   drupal_set_message(t('Your message has been sent.'));
-  $form_state['redirect'] = user_access('access user profiles') ? 'user/' . $values['recipient']->uid : '';
+  $form_state['redirect'] = user_access('access user info pages') ? 'user/' . $values['recipient']->uid : '';
 }
Index: modules/file/file.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/file/file.module,v
retrieving revision 1.17
diff -u -p -r1.17 file.module
--- modules/file/file.module	11 Jan 2010 16:26:40 -0000	1.17
+++ modules/file/file.module	13 Jan 2010 19:43:24 -0000
@@ -155,7 +155,7 @@ function file_file_download($uri, $field
           }
         }
         if ($obj_type == 'user') {
-          if (user_access('access user profiles') || $user->uid == $reference->uid) {
+          if (user_access('access user info pages') || $user->uid == $reference->uid) {
             $denied = FALSE;
             break 3;
           }
Index: modules/node/node.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.test,v
retrieving revision 1.68
diff -u -p -r1.68 node.test
--- modules/node/node.test	13 Jan 2010 12:58:47 -0000	1.68
+++ modules/node/node.test	13 Jan 2010 19:43:26 -0000
@@ -592,7 +592,7 @@ class NodePostSettingsTestCase extends D
   function setUp() {
     parent::setUp();
 
-    $web_user = $this->drupalCreateUser(array('create page content', 'administer content types', 'access user profiles'));
+    $web_user = $this->drupalCreateUser(array('create page content', 'administer content types', 'access user info pages'));
     $this->drupalLogin($web_user);
   }
 
Index: modules/profile/profile.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.module,v
retrieving revision 1.287
diff -u -p -r1.287 profile.module
--- modules/profile/profile.module	13 Jan 2010 14:01:34 -0000	1.287
+++ modules/profile/profile.module	13 Jan 2010 19:43:27 -0000
@@ -81,7 +81,7 @@ function profile_menu() {
   $items['profile'] = array(
     'title' => 'User list',
     'page callback' => 'profile_browse',
-    'access arguments' => array('access user profiles'),
+    'access arguments' => array('access user info pages'),
     'file' => 'profile.pages.inc',
     'type' => MENU_SUGGESTED_ITEM,
   );
@@ -127,7 +127,7 @@ function profile_menu() {
   $items['profile/autocomplete'] = array(
     'title' => 'Profile autocomplete',
     'page callback' => 'profile_autocomplete',
-    'access arguments' => array('access user profiles'),
+    'access arguments' => array('access user info pages'),
     'file' => 'profile.pages.inc',
     'type' => MENU_CALLBACK,
   );
@@ -175,7 +175,7 @@ function profile_block_save($delta = '',
  * Implements hook_block_view().
  */
 function profile_block_view($delta = '') {
-  if (user_access('access user profiles')) {
+  if (user_access('access user info pages')) {
     $output = '';
     if ((arg(0) == 'node') && is_numeric(arg(1)) && (arg(2) == NULL)) {
       $node = node_load(arg(1));
@@ -275,7 +275,7 @@ function profile_view_field($account, $f
   // Only allow browsing of private fields for admins, if browsing is enabled,
   // and if a user has permission to view profiles. Note that this check is
   // necessary because a user may always see their own profile.
-  $browse = user_access('access user profiles')
+  $browse = user_access('access user info pages')
         && (user_access('administer users') || $field->visibility != PROFILE_PRIVATE)
         && !empty($field->page);
 
Index: modules/profile/profile.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.test,v
retrieving revision 1.23
diff -u -p -r1.23 profile.test
--- modules/profile/profile.test	20 Nov 2009 04:15:15 -0000	1.23
+++ modules/profile/profile.test	13 Jan 2010 19:43:27 -0000
@@ -12,7 +12,7 @@ class ProfileTestCase extends DrupalWebT
     parent::setUp('profile');
     variable_set('user_register', 1);
 
-    $this->admin_user = $this->drupalCreateUser(array('administer users', 'access user profiles'));
+    $this->admin_user = $this->drupalCreateUser(array('administer users', 'access user info pages'));
 
     // This is the user whose profile will be edited.
     $this->normal_user = $this->drupalCreateUser();
@@ -350,7 +350,7 @@ class ProfileTestAutocomplete extends Pr
     $this->assertResponse(200, t('Autocomplete path allowed to user with permission.'));
     $this->assertRaw($field['value'], t('Autocomplete value found.'));
 
-    // Logout and login with a user without the 'access user profiles' permission.
+    // Logout and login with a user without the 'access user info pages' permission.
     $this->drupalLogout();
     $this->drupalLogin($this->normal_user);
 
Index: modules/system/system.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.test,v
retrieving revision 1.103
diff -u -p -r1.103 system.test
--- modules/system/system.test	13 Jan 2010 05:08:29 -0000	1.103
+++ modules/system/system.test	13 Jan 2010 19:43:27 -0000
@@ -1072,7 +1072,7 @@ class SystemMainContentFallback extends 
     $this->drupalLogin($this->admin_user);
 
     // Create a web user.
-    $this->web_user = $this->drupalCreateUser(array('access user profiles', 'access content'));
+    $this->web_user = $this->drupalCreateUser(array('access user info pages', 'access content'));
   }
 
   /**
Index: modules/tracker/tracker.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/tracker/tracker.test,v
retrieving revision 1.18
diff -u -p -r1.18 tracker.test
--- modules/tracker/tracker.test	9 Jan 2010 21:54:01 -0000	1.18
+++ modules/tracker/tracker.test	13 Jan 2010 19:43:28 -0000
@@ -85,7 +85,7 @@ class TrackerTest extends DrupalWebTestC
     $this->assertText($other_published_my_comment->title, t("Nodes that the user has commented on appear in the user's tracker listing."));
 
     // Verify that unpublished comments are removed from the tracker.
-    $admin_user = $this->drupalCreateUser(array('administer comments', 'access user profiles'));
+    $admin_user = $this->drupalCreateUser(array('administer comments', 'access user info pages'));
     $this->drupalLogin($admin_user);
     $this->drupalPost('comment/1/edit', array('status' => COMMENT_NOT_PUBLISHED), t('Save'));
     $this->drupalGet('user/' . $this->user->uid . '/track');
Index: modules/user/user.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.install,v
retrieving revision 1.35
diff -u -p -r1.35 user.install
--- modules/user/user.install	9 Jan 2010 22:07:57 -0000	1.35
+++ modules/user/user.install	13 Jan 2010 19:43:28 -0000
@@ -487,6 +487,16 @@ function user_update_7005(&$sandbox) {
 }
 
 /**
+ * Rename 'access user profiles' permission to 'access user info pages'
+ */
+function user_update_7006(&$sandbox) {
+  db_update('role_permission')
+    ->fields(array('permission' => 'access user info pages'))
+    ->condition('permission', 'access user profiles')
+    ->execute();
+}
+
+/**
  * @} End of "defgroup user-updates-6.x-to-7.x"
  * The next series of updates should start at 8000.
  */
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.1108
diff -u -p -r1.1108 user.module
--- modules/user/user.module	13 Jan 2010 14:25:59 -0000	1.1108
+++ modules/user/user.module	13 Jan 2010 19:43:29 -0000
@@ -770,8 +770,8 @@ function user_permission() {
       'title' => t('Administer users'),
       'description' => drupal_placeholder(array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
     ),
-    'access user profiles' => array(
-      'title' => t('View user profiles'),
+    'access user info pages' => array(
+      'title' => t('View user information pages'),
     ),
     'change own username' => array(
       'title' => t('Change own username'),
@@ -835,7 +835,7 @@ function user_search_info() {
  * Implements hook_search_access().
  */
 function user_search_access() {
-  return user_access('access user profiles');
+  return user_access('access user info pages');
 }
 
 /**
@@ -1302,7 +1302,7 @@ function template_preprocess_user_pictur
       else {
         $variables['user_picture'] = theme('image', array('path' => $filepath, 'alt' => $alt, 'title' => $alt, 'attributes' => array(), 'getsize' => FALSE));
       }
-      if (!empty($account->uid) && user_access('access user profiles')) {
+      if (!empty($account->uid) && user_access('access user info pages')) {
         $attributes = array('attributes' => array('title' => t('View user profile.')), 'html' => TRUE);
         $variables['user_picture'] = l($variables['user_picture'], "user/$account->uid", $attributes);
       }
@@ -1354,7 +1354,7 @@ function user_view_access($account) {
       // Administrators can view all accounts.
       user_access('administer users') ||
       // The user is not blocked and logged in at least once.
-      ($account->access && $account->status && user_access('access user profiles'))
+      ($account->access && $account->status && user_access('access user info pages'))
     );
 }
 
@@ -1388,7 +1388,7 @@ function user_menu() {
     'title' => 'User autocomplete',
     'page callback' => 'user_autocomplete',
     'access callback' => 'user_access',
-    'access arguments' => array('access user profiles'),
+    'access arguments' => array('access user info pages'),
     'type' => MENU_CALLBACK,
     'file' => 'user.pages.inc',
   );
@@ -2498,7 +2498,7 @@ function user_role_delete($role) {
  *   @code
  *     array(
  *       'administer nodes' => 0,
- *       'access user profiles' => 1,
+ *       'access user info pages' => 1,
  *     )
  *   @endcode
  *   Existing permissions are not changed, unless specified in $permissions.
Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.76
diff -u -p -r1.76 user.test
--- modules/user/user.test	10 Jan 2010 22:45:58 -0000	1.76
+++ modules/user/user.test	13 Jan 2010 19:43:30 -0000
@@ -907,7 +907,7 @@ class UserPermissionsTestCase extends Dr
   function setUp() {
     parent::setUp();
 
-    $this->admin_user = $this->drupalCreateUser(array('administer permissions', 'access user profiles', 'administer site configuration', 'administer modules', 'administer users'));
+    $this->admin_user = $this->drupalCreateUser(array('administer permissions', 'access user info pages', 'administer site configuration', 'administer modules', 'administer users'));
 
     // Find the new role ID - it must be the maximum.
     $all_rids = array_keys($this->admin_user->roles);
@@ -934,14 +934,14 @@ class UserPermissionsTestCase extends Dr
     $this->assertTrue(user_access('administer nodes', $account), t('User now has "administer nodes" permission.'));
 
     // Remove a permission.
-    $this->assertTrue(user_access('access user profiles', $account), t('User has "access user profiles" permission.'));
+    $this->assertTrue(user_access('access user info pages', $account), t('User has "access user info pages" permission.'));
     $edit = array();
-    $edit[$rid . '[access user profiles]'] = FALSE;
+    $edit[$rid . '[access user info pages]'] = FALSE;
     $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions'));
     $this->assertText(t('The changes have been saved.'), t('Successful save message displayed.'));
     drupal_static_reset('user_access');
     drupal_static_reset('user_role_permissions');
-    $this->assertFalse(user_access('access user profiles', $account), t('User no longer has "access user profiles" permission.'));
+    $this->assertFalse(user_access('access user info pages', $account), t('User no longer has "access user info pages" permission.'));
   }
 
   /**
@@ -973,19 +973,19 @@ class UserPermissionsTestCase extends Dr
 
     // Verify current permissions.
     $this->assertFalse(user_access('administer nodes', $account), t('User does not have "administer nodes" permission.'));
-    $this->assertTrue(user_access('access user profiles', $account), t('User has "access user profiles" permission.'));
+    $this->assertTrue(user_access('access user info pages', $account), t('User has "access user info pages" permission.'));
     $this->assertTrue(user_access('administer site configuration', $account), t('User has "administer site configuration" permission.'));
 
     // Change permissions.
     $permissions = array(
       'administer nodes' => 1,
-      'access user profiles' => 0,
+      'access user info pages' => 0,
     );
     user_role_change_permissions($rid, $permissions);
 
     // Verify proper permission changes.
     $this->assertTrue(user_access('administer nodes', $account), t('User now has "administer nodes" permission.'));
-    $this->assertFalse(user_access('access user profiles', $account), t('User no longer has "access user profiles" permission.'));
+    $this->assertFalse(user_access('access user info pages', $account), t('User no longer has "access user info pages" permission.'));
     $this->assertTrue(user_access('administer site configuration', $account), t('User still has "administer site configuration" permission.'));
   }
 }
@@ -1120,7 +1120,7 @@ class UserAutocompleteTestCase extends D
 
     // Set up two users with different permissions to test access.
     $this->unprivileged_user = $this->drupalCreateUser();
-    $this->privileged_user = $this->drupalCreateUser(array('access user profiles'));
+    $this->privileged_user = $this->drupalCreateUser(array('access user info pages'));
   }
 
   /**
