diff --git a/core/modules/search/search.module b/core/modules/search/search.module index 551f435..d362d70 100644 --- a/core/modules/search/search.module +++ b/core/modules/search/search.module @@ -74,7 +74,7 @@ function search_help($path, $arg) { $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Searching content and users') . '
'; - $output .= '
' . t('Users with Use search permission can use the search block and Search page. Users with the View published content permission can search for content containing exact keywords. Users with the View user profiles permission can search for users containing the keyword anywhere in the user name, and users with the Administer users permission can search for users by email address. Additionally, users with Use advanced search permission can find content using more complex search methods and filtering by choosing the Advanced search option on the Search page.', array('@search' => url('search'))) . '
'; + $output .= '
' . t('Users with Use search permission can use the search block and Search page. Users with the View published content permission can search for content containing exact keywords. Users with the View user account information permission can search for users containing the keyword anywhere in the user name, and users with the Administer users permission can search for users by email address. Additionally, users with Use advanced search permission can find content using more complex search methods and filtering by choosing the Advanced search option on the Search page.', array('@search' => url('search'))) . '
'; $output .= '
' . t('Indexing content with cron') . '
'; $output .= '
' . t('To provide keyword searching, the search engine maintains an index of words found in the content and its fields, along with text added to your content by other modules (such as comments from the core Comment module, and taxonomy terms from the core Taxonomy module). To build and maintain this index, a correctly configured cron maintenance task is required. Users with Administer search permission can further configure the cron settings on the Search settings page.', array('@cron' => 'http://drupal.org/cron', '@searchsettings' => url('admin/config/search/settings'))) . '
'; $output .= '
' . t('Content reindexing') . '
'; diff --git a/core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldPermissionTest.php b/core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldPermissionTest.php index 70e772a..cc31945 100644 --- a/core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldPermissionTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldPermissionTest.php @@ -52,7 +52,7 @@ public function testFieldPermission() { // machine name. $expected_permissions[$this->users[3]->id()][] = t('Administer permissions'); $expected_permissions[$this->users[3]->id()][] = t('Administer users'); - $expected_permissions[$this->users[3]->id()][] = t('View user profiles'); + $expected_permissions[$this->users[3]->id()][] = t('View user account information'); foreach ($view->result as $index => $row) { $uid = $view->field['uid']->getValue($row); diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 88862d5..3cc2175 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -474,7 +474,8 @@ function user_permission() { 'restrict access' => TRUE, ), 'access user profiles' => array( - 'title' => t('View user profiles'), + 'title' => t('View user account information'), + 'description' => t('View pages displaying user accounts and other user information.') ), 'change own username' => array( 'title' => t('Change own username'),