summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2014-07-02 19:23:11 (GMT)
committerJennifer Hodgdon2014-07-02 19:23:11 (GMT)
commit6357f9143431204c674e2b79bb99d05e29595bfc (patch)
treeb4d0d1279f8b080415bad079020b46df010b3220
parentd70d27c5c11ed111451f56a375dea5bf7919473d (diff)
Issue #1952064 by joshi.rohit100, yoroy, weekbeforenext, prabeen.giri, jonreid, nflowers1228, HaloFX, mparker17, paboden, babruix, sun: Shorten help text on user permissions/roles pages
-rw-r--r--core/modules/user/user.module11
1 files changed, 2 insertions, 9 deletions
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 86b1fa7..555bd64 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -74,17 +74,10 @@ function user_help($route_name, RouteMatchInterface $route_match) {
return '<p>' . t("This web page allows administrators to register new users. Users' email addresses and usernames must be unique.") . '</p>';
case 'user.admin_permissions':
- return '<p>' . t('Permissions let you control what users can do and see on your site. You can define a specific set of permissions for each role. (See the <a href="!role">Roles</a> page to create a role.) Any permissions granted to the Authenticated user role will be given to any user who is logged in to your site. From the <a href="@settings">Account settings</a> page, you can make any role into an Administrator role for the site, meaning that role will be granted all new permissions automatically. You should be careful to ensure that only trusted users are given this access and level of control of your site.', array('!role' => \Drupal::url('user.role_list'), '!settings' => \Drupal::url('user.account_settings'))) . '</p>';
+ return '<p>' . t('Permissions let you control what users can do and see on your site. You can define a specific set of permissions for each role. (See the <a href="!role">Roles</a> page to create a role.) Any permissions granted to the Authenticated user role will be given to any user who is logged in to your site. From the <a href="!settings">Account settings</a> page, you can make any role into an Administrator role for the site, meaning that role will be granted all new permissions automatically. You should be careful to ensure that only trusted users are given this access and level of control of your site.', array('!role' => \Drupal::url('user.role_list'), '!settings' => \Drupal::url('user.account_settings'))) . '</p>';
case 'user.role_list':
- $output = '<p>' . t('Roles allow you to fine tune the security and administration of Drupal. A role defines a group of users that have certain privileges as defined on the <a href="@permissions">permissions page</a>. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the names and order of the roles on your site. It is recommended to order your roles from least permissive (anonymous user) to most permissive (administrator). To delete a role choose "edit role".', array('@permissions' => url('admin/people/permissions'))) . '</p>';
- $output .= '<p>' . t('Drupal has three special user roles:') . '</p>';
- $output .= '<ul>';
- $output .= '<li>' . t("Anonymous user: this role is used for users that don't have a user account or that are not authenticated.") . '</li>';
- $output .= '<li>' . t('Authenticated user: this role is automatically granted to all logged in users.') . '</li>';
- $output .= '<li>' . t('Administrator role: this role is automatically granted all new permissions when you install a new module. Configure which role is the administrator role on the <a href="@account_settings">Account settings page</a>.', array('@account_settings' => url('admin/config/people/accounts'))) . '</li>';
- $output .= '</ul>';
- return $output;
+ return '<p>' . t('A role defines a group of users that have certain privileges. These privileges are defined on the <a href="!permissions">Permissions page</a>. Here, you can define the names and the display sort order of the roles on your site. It is recommended to order roles from least permissive (for example, Anonymous user) to most permissive (for example, Administrator user). Users who are not logged in have the Anonymous user role. Users who are logged in have the Authenticated user role, plus any other roles granted to their user account.', array('!permissions' => \Drupal::url('user.admin_permissions'))) . '</p>';
case 'field_ui.overview_user':
return '<p>' . t('This form lets administrators add and edit fields for storing user data.') . '</p>';