Index: modules/comment/comment.test =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v retrieving revision 1.43 diff -u -p -r1.43 comment.test --- modules/comment/comment.test 9 Aug 2009 00:55:50 -0000 1.43 +++ modules/comment/comment.test 21 Aug 2009 09:05:27 -0000 @@ -176,7 +176,7 @@ class CommentHelperCase extends DrupalWe $edit['1[access comments]'] = $access_comments; $edit['1[post comments]'] = $post_comments; $edit['1[post comments without approval]'] = $without_approval; - $this->drupalPost('admin/settings/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t('Anonymous user comments ' . ($access_comments ? 'access comments' : 'not access comments'). '.')); } Index: modules/contact/contact.test =================================================================== RCS file: /cvs/drupal/drupal/modules/contact/contact.test,v retrieving revision 1.28 diff -u -p -r1.28 contact.test --- modules/contact/contact.test 31 Jul 2009 19:01:01 -0000 1.28 +++ modules/contact/contact.test 21 Aug 2009 09:05:27 -0000 @@ -289,7 +289,7 @@ class ContactSitewideTestCase extends Dr $edit[$rid . '[' . $name . ']'] = $value; } - $this->drupalPost('admin/settings/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t(' [permission] Saved changes.')); } } Index: modules/menu/menu.test =================================================================== RCS file: /cvs/drupal/drupal/modules/menu/menu.test,v retrieving revision 1.19 diff -u -p -r1.19 menu.test --- modules/menu/menu.test 3 Aug 2009 03:04:33 -0000 1.19 +++ modules/menu/menu.test 21 Aug 2009 09:05:27 -0000 @@ -249,7 +249,7 @@ class MenuTestCase extends DrupalWebTest * @param string $menu_name Menu name. */ function addInvalidMenuLink($menu_name = 'navigation') { - foreach (array('-&-', 'admin/settings/permissions') as $link_path) { + foreach (array('-&-', 'admin/config/people/permissions') as $link_path) { $edit = array( 'menu[link_path]' => $link_path, 'menu[link_title]' => 'title', Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.1102 diff -u -p -r1.1102 node.module --- modules/node/node.module 20 Aug 2009 09:47:04 -0000 1.1102 +++ modules/node/node.module 21 Aug 2009 09:05:27 -0000 @@ -52,7 +52,7 @@ function node_help($path, $arg) { case 'admin/help#node': $output = '
' . t('The node module manages content on your site, and stores all posts (regardless of type) as a "node" . In addition to basic publishing settings, including whether the post has been published, promoted to the site front page, or should remain present (or sticky) at the top of lists, the node module also records basic information about the author of a post. Optional revision control over edits is available. For additional functionality, the node module is often extended by other modules.') . '
'; $output .= '' . t('Though each post on your site is a node, each post is also of a particular content type. Content types are used to define the characteristics of a post, including the title and description of the fields displayed on its add and edit pages. Each content type may have different default settings for Publishing options and other workflow controls. By default, the two content types in a standard Drupal installation are Page and Story. Use the content types page to add new or edit existing content types. Additional content types also become available as you enable additional core, contributed and custom modules.', array('@content-type' => url('admin/structure/types'))) . '
'; - $output .= '' . t('The administrative content page allows you to review and manage your site content. The node module makes a number of permissions available for each content type, which may be set by role on the permissions page.', array('@content' => url('admin/content'), '@permissions' => url('admin/settings/permissions'))) . '
'; + $output .= '' . t('The administrative content page allows you to review and manage your site content. The node module makes a number of permissions available for each content type, which may be set by role on the permissions page.', array('@content' => url('admin/content'), '@permissions' => url('admin/config/people/permissions'))) . '
'; $output .= '' . t('For more information, see the online handbook entry for Node module.', array('@node' => 'http://drupal.org/handbook/modules/node/')) . '
'; return $output; Index: modules/profile/profile.admin.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/profile/profile.admin.inc,v retrieving revision 1.26 diff -u -p -r1.26 profile.admin.inc --- modules/profile/profile.admin.inc 31 Jul 2009 19:01:02 -0000 1.26 +++ modules/profile/profile.admin.inc 21 Aug 2009 09:05:27 -0000 @@ -27,8 +27,8 @@ function profile_admin_overview() { $form[$field->fid]['type'] = array('#markup' => $field->type); $form[$field->fid]['category'] = array('#type' => 'select', '#default_value' => $field->category, '#options' => array()); $form[$field->fid]['weight'] = array('#type' => 'weight', '#default_value' => $field->weight); - $form[$field->fid]['edit'] = array('#markup' => l(t('edit'), "admin/settings/profile/edit/$field->fid")); - $form[$field->fid]['delete'] = array('#markup' => l(t('delete'), "admin/settings/profile/delete/$field->fid")); + $form[$field->fid]['edit'] = array('#markup' => l(t('edit'), "admin/config/people/profile/edit/$field->fid")); + $form[$field->fid]['delete'] = array('#markup' => l(t('delete'), "admin/config/people/profile/delete/$field->fid")); } // Add the category combo boxes @@ -55,7 +55,7 @@ function profile_admin_overview() { $addnewfields = '' . t('For more information, see the online handbook entry for Profile module.', array('@profile' => 'http://drupal.org/handbook/modules/profile/')) . '
'; return $output; - case 'admin/settings/profile': + case 'admin/config/people/profile': return '' . t("This page displays a list of the existing custom profile fields to be displayed on a user's My Account page. To provide structure, similar or related fields may be placed inside a category. To add a new category (or edit an existing one), edit a profile field and provide a new category name. Remember that your changes will not be saved until you click the Save configuration button at the bottom of the page.") . '
'; } } @@ -82,34 +82,34 @@ function profile_menu() { 'access arguments' => array('access user profiles'), 'type' => MENU_SUGGESTED_ITEM, ); - $items['admin/settings/profile'] = array( + $items['admin/config/people/profile'] = array( 'title' => 'Profiles', 'description' => 'Create customizable fields for your users.', 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_admin_overview'), 'access arguments' => array('administer users'), ); - $items['admin/settings/profile/add'] = array( + $items['admin/config/people/profile/add'] = array( 'title' => 'Add field', 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_field_form'), 'access arguments' => array('administer users'), 'type' => MENU_CALLBACK, ); - $items['admin/settings/profile/autocomplete'] = array( + $items['admin/config/people/profile/autocomplete'] = array( 'title' => 'Profile category autocomplete', 'page callback' => 'profile_admin_settings_autocomplete', 'access arguments' => array('administer users'), 'type' => MENU_CALLBACK, ); - $items['admin/settings/profile/edit'] = array( + $items['admin/config/people/profile/edit'] = array( 'title' => 'Edit field', 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_field_form'), 'access arguments' => array('administer users'), 'type' => MENU_CALLBACK, ); - $items['admin/settings/profile/delete'] = array( + $items['admin/config/people/profile/delete'] = array( 'title' => 'Delete field', 'page callback' => 'drupal_get_form', 'page arguments' => array('profile_field_delete'), @@ -150,7 +150,7 @@ function profile_block_configure($delta '#title' => t('Profile fields to display'), '#default_value' => variable_get('profile_block_author_fields', array()), '#options' => $fields, - '#description' => t('Select which profile fields you wish to display in the block. Only fields designated as public in the profile field configuration are available.', array('@profile-admin' => url('admin/settings/profile'))), + '#description' => t('Select which profile fields you wish to display in the block. Only fields designated as public in the profile field configuration are available.', array('@profile-admin' => url('admin/config/people/profile'))), ); return $form; } Index: modules/profile/profile.test =================================================================== RCS file: /cvs/drupal/drupal/modules/profile/profile.test,v retrieving revision 1.18 diff -u -p -r1.18 profile.test --- modules/profile/profile.test 31 Jul 2009 19:01:02 -0000 1.18 +++ modules/profile/profile.test 21 Aug 2009 09:05:27 -0000 @@ -36,7 +36,7 @@ class ProfileTestCase extends DrupalWebT $edit['category'] = $category; $edit['explanation'] = $this->randomName(50); - $this->drupalPost('admin/settings/profile/add/' . $type, $edit, t('Save field')); + $this->drupalPost('admin/config/people/profile/add/' . $type, $edit, t('Save field')); $fid = db_query("SELECT fid FROM {profile_field} WHERE title = :title", array(':title' => $title))->fetchField(); $this->assertTrue($fid, t('New Profile field has been entered in the database')); @@ -107,8 +107,8 @@ class ProfileTestCase extends DrupalWebT * The field to be deleted. */ function deleteProfileField($field) { - $this->drupalPost('admin/settings/profile/delete/' . $field['fid'], array(), t('Delete')); - $this->drupalGet('admin/settings/profile'); + $this->drupalPost('admin/config/people/profile/delete/' . $field['fid'], array(), t('Delete')); + $this->drupalGet('admin/config/people/profile'); $this->assertNoText($field['title'], t('Checking deleted field %title', array('%title' => $field['title']))); } } Index: modules/search/search.test =================================================================== RCS file: /cvs/drupal/drupal/modules/search/search.test,v retrieving revision 1.27 diff -u -p -r1.27 search.test --- modules/search/search.test 31 Jul 2009 19:01:02 -0000 1.27 +++ modules/search/search.test 21 Aug 2009 09:05:27 -0000 @@ -475,7 +475,7 @@ class SearchCommentTestCase extends Drup // seems to be added via node links. DRUPAL_ANONYMOUS_RID . '[post comments]' => 1, ); - $this->drupalPost('admin/settings/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions')); // Create a node. $node = $this->drupalCreateNode(array('type' => 'article')); Index: modules/statistics/statistics.module =================================================================== RCS file: /cvs/drupal/drupal/modules/statistics/statistics.module,v retrieving revision 1.310 diff -u -p -r1.310 statistics.module --- modules/statistics/statistics.module 31 Jul 2009 19:01:02 -0000 1.310 +++ modules/statistics/statistics.module 21 Aug 2009 09:05:27 -0000 @@ -14,7 +14,7 @@ function statistics_help($path, $arg) { case 'admin/help#statistics': $output = '' . t('The statistics module keeps track of numerous site usage statistics, including the number of times, and from where, each of your posts is viewed. These statistics are useful in determining how users are interacting with each other and with your site, and are required for the display of some Drupal blocks.') . '
'; $output .= '' . t('The statistics module provides:') . '
'; - $output .= '' . t('These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.') . '
'; case 'admin/config/modules': - $output = '' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of contributed modules are available for download.', array('@permissions' => url('admin/settings/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '
'; - $output .= '' . t('Module-related tasks can be located on the administration by module page. New module-related permissions may also become available as new modules are enabled.', array('@by-module' => url('admin/by-module'), '@permissions' => url('admin/settings/permissions'))) . '
'; + $output = '' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of contributed modules are available for download.', array('@permissions' => url('admin/config/people/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '
'; + $output .= '' . t('Module-related tasks can be located on the administration by module page. New module-related permissions may also become available as new modules are enabled.', array('@by-module' => url('admin/by-module'), '@permissions' => url('admin/config/people/permissions'))) . '
'; $output .= '' . t('Each time a module is updated, it is important that update.php is run. To help manage the update process, the Update status module, if enabled, provides information on new versions of modules (and themes) as they are released. Regular review of the available updates page is essential to maintaining a secure and current site.', array('@update-php' => $base_url . '/update.php', '@updates' => url('admin/reports/updates'))) . '
'; return $output; case 'admin/config/modules/uninstall': @@ -2230,7 +2230,7 @@ function system_get_module_admin_tasks($ $admin_task_count = 0; // Check for permissions. if (in_array($module, module_implements('permission')) && $admin_access) { - $admin_tasks[-1] = l(t('Configure permissions'), 'admin/settings/permissions', array('fragment' => 'module-' . $module)); + $admin_tasks[-1] = l(t('Configure permissions'), 'admin/config/people/permissions', array('fragment' => 'module-' . $module)); } // Check for menu items that are admin links. Index: modules/translation/translation.module =================================================================== RCS file: /cvs/drupal/drupal/modules/translation/translation.module,v retrieving revision 1.54 diff -u -p -r1.54 translation.module --- modules/translation/translation.module 31 Jul 2009 19:01:02 -0000 1.54 +++ modules/translation/translation.module 21 Aug 2009 09:05:27 -0000 @@ -33,7 +33,7 @@ function translation_help($path, $arg) { case 'admin/help#translation': $output = '' . t('The content translation module allows content to be translated into different languages. Working with the locale module (which manages enabled languages and provides translation for the site interface), the content translation module is key to creating and maintaining translated site content.', array('@locale' => url('admin/help/locale'))) . '
'; $output .= '' . t('Configuring content translation and translation-enabled content types:') . '
'; - $output .= '' . t('Working with translation-enabled content types:') . '
'; Index: modules/upload/upload.module =================================================================== RCS file: /cvs/drupal/drupal/modules/upload/upload.module,v retrieving revision 1.249 diff -u -p -r1.249 upload.module --- modules/upload/upload.module 21 Aug 2009 00:35:31 -0000 1.249 +++ modules/upload/upload.module 21 Aug 2009 09:05:27 -0000 @@ -18,7 +18,7 @@ function upload_help($path, $arg) { $output .= '' . t('For more information, see the online handbook entry for Upload module.', array('@upload' => 'http://drupal.org/handbook/modules/upload/')) . '
'; return $output; case 'admin/settings/upload': - return '' . t('Users with the upload files permission can upload attachments. Users with the view uploaded files permission can view uploaded attachments. You can choose which post types can take attachments on the content types settings page.', array('@permissions' => url('admin/settings/permissions'), '@types' => url('admin/settings/types'))) . '
'; + return '' . t('Users with the upload files permission can upload attachments. Users with the view uploaded files permission can view uploaded attachments. You can choose which post types can take attachments on the content types settings page.', array('@permissions' => url('admin/config/people/permissions'), '@types' => url('admin/settings/types'))) . '
'; } } Index: modules/user/user.admin.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.admin.inc,v retrieving revision 1.69 diff -u -p -r1.69 user.admin.inc --- modules/user/user.admin.inc 20 Aug 2009 10:48:03 -0000 1.69 +++ modules/user/user.admin.inc 21 Aug 2009 09:05:27 -0000 @@ -297,7 +297,7 @@ function user_admin_settings() { $form['registration_cancellation']['user_cancel_method'] = array( '#type' => 'item', '#title' => t('When cancelling a user account'), - '#description' => t('Users with the %select-cancel-method or %administer-users permissions can override this default method.', array('%select-cancel-method' => t('Select method for cancelling account'), '%administer-users' => t('Administer users'), '@permissions-url' => url('admin/settings/permissions'))), + '#description' => t('Users with the %select-cancel-method or %administer-users permissions can override this default method.', array('%select-cancel-method' => t('Select method for cancelling account'), '%administer-users' => t('Administer users'), '@permissions-url' => url('admin/config/people/permissions'))), ); $form['registration_cancellation']['user_cancel_method'] += user_cancel_methods(); foreach (element_children($form['registration_cancellation']['user_cancel_method']) as $element) { @@ -731,7 +731,7 @@ function user_admin_role() { $rid = arg(4); if ($rid) { if ($rid == DRUPAL_ANONYMOUS_RID || $rid == DRUPAL_AUTHENTICATED_RID) { - drupal_goto('admin/settings/roles'); + drupal_goto('admin/config/people/roles'); } // Display the edit role form. $role = db_query('SELECT * FROM {role} WHERE rid = :rid', array(':rid' => $rid))->fetchObject(); @@ -820,7 +820,7 @@ function user_admin_role_submit($form, & ->execute(); drupal_set_message(t('The role has been added.')); } - $form_state['redirect'] = 'admin/settings/roles'; + $form_state['redirect'] = 'admin/config/people/roles'; return; } @@ -877,9 +877,9 @@ function theme_user_admin_account($form) function theme_user_admin_new_role($form) { $header = array(t('Name'), array('data' => t('Operations'), 'colspan' => 2)); foreach (user_roles() as $rid => $name) { - $edit_permissions = l(t('edit permissions'), 'admin/settings/permissions/' . $rid); + $edit_permissions = l(t('edit permissions'), 'admin/config/people/permissions/' . $rid); if (!in_array($rid, array(DRUPAL_ANONYMOUS_RID, DRUPAL_AUTHENTICATED_RID))) { - $rows[] = array($name, l(t('edit role'), 'admin/settings/roles/edit/' . $rid), $edit_permissions); + $rows[] = array($name, l(t('edit role'), 'admin/config/people/roles/edit/' . $rid), $edit_permissions); } else { $rows[] = array($name, t('locked'), $edit_permissions); Index: modules/user/user.js =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.js,v retrieving revision 1.15 diff -u -p -r1.15 user.js --- modules/user/user.js 13 Jun 2009 20:40:09 -0000 1.15 +++ modules/user/user.js 21 Aug 2009 09:05:27 -0000 @@ -161,7 +161,7 @@ Drupal.evaluatePasswordStrength = functi }; /** - * Show all of the picture-related form elements at admin/settings/user + * Show all of the picture-related form elements at admin/config/people/accounts * depending on whether user pictures are enabled or not. */ Drupal.behaviors.userSettings = { Index: modules/user/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.module,v retrieving revision 1.1023 diff -u -p -r1.1023 user.module --- modules/user/user.module 19 Aug 2009 13:31:14 -0000 1.1023 +++ modules/user/user.module 21 Aug 2009 09:05:28 -0000 @@ -97,7 +97,7 @@ function user_fieldable_info() { 'user' => array( 'label' => t('User'), 'admin' => array( - 'path' => 'admin/settings/user', + 'path' => 'admin/config/people/accounts', 'access arguments' => array('administer users'), ), ), @@ -813,7 +813,7 @@ function user_permission() { ), 'cancel account' => array( 'title' => t('Cancel account'), - 'description' => t('Remove or disable own user account and unpublish, anonymize, or remove own submissions depending on the configured user settings.', array('@user-settings-url' => url('admin/settings/user'))), + 'description' => t('Remove or disable own user account and unpublish, anonymize, or remove own submissions depending on the configured user settings.', array('@user-settings-url' => url('admin/config/people/accounts'))), ), 'select account cancellation method' => array( 'title' => t('Select method for cancelling own account'), @@ -1345,7 +1345,7 @@ function user_menu() { 'menu_name' => 'user-menu', ); - // User administration pages. + // User listing pages. $items['admin/people'] = array( 'title' => 'People', 'page callback' => 'user_admin', @@ -1364,40 +1364,53 @@ function user_menu() { 'access arguments' => array('administer users'), 'type' => MENU_LOCAL_TASK, ); - $items['admin/settings/user'] = array( - 'title' => 'Users', + + // Administration pages. + $items['admin/config/people'] = array( + 'title' => 'People and permissions', + 'description' => 'Configure user accounts, roles and permissions.', + 'position' => 'right', + 'page callback' => 'system_admin_menu_block_page', + 'access callback' => 'system_admin_menu_block_access', + 'access arguments' => array('admin/config/people', 'access administration pages'), + ); + $items['admin/config/people/accounts'] = array( + 'title' => 'Account settings', 'description' => 'Configure default behavior of users, including registration requirements, e-mails, and user pictures.', 'page callback' => 'drupal_get_form', 'page arguments' => array('user_admin_settings'), 'access arguments' => array('administer users'), + 'weight' => -10, ); - $items['admin/settings/user/settings'] = array( + $items['admin/config/people/accounts/settings'] = array( 'title' => 'Settings', 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10, ); // Permission administration pages. - $items['admin/settings/permissions'] = array( - 'title' => 'Permissions', - 'description' => 'Determine access to features by selecting permissions for roles.', - 'page callback' => 'drupal_get_form', - 'page arguments' => array('user_admin_permissions'), - 'access arguments' => array('administer permissions'), - ); - $items['admin/settings/roles'] = array( + $items['admin/config/people/roles'] = array( 'title' => 'Roles', 'description' => 'List, edit, or add user roles.', 'page callback' => 'drupal_get_form', 'page arguments' => array('user_admin_new_role'), 'access arguments' => array('administer permissions'), + 'weight' => -9, ); - $items['admin/settings/roles/edit'] = array( + $items['admin/config/people/roles/edit'] = array( 'title' => 'Edit role', 'page arguments' => array('user_admin_role'), 'access arguments' => array('administer permissions'), 'type' => MENU_CALLBACK, ); + $items['admin/config/people/permissions'] = array( + 'title' => 'Permissions', + 'description' => 'Determine access to features by selecting permissions for roles.', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('user_admin_permissions'), + 'access arguments' => array('administer permissions'), + 'weight' => -8, + ); $items['user/%user_uid_optional'] = array( 'title' => 'My account', @@ -2454,17 +2467,17 @@ function user_help($path, $arg) { return $output; case 'admin/people/create': return '' . t("This web page allows administrators to register new users. Users' e-mail addresses and usernames must be unique.") . '
'; - case 'admin/settings/permissions': - return '' . 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 Roles page to create a role). Two important roles to consider are Authenticated Users and Administrators. Any permissions granted to the Authenticated Users role will be given to any user who can log into your site. You can make any role the Administrator role for the site, meaning this will be granted all new permissions automatically. You can do this on the User Settings page. You should be careful to ensure that only trusted users are given this access and level of control of your site.', array('@role' => url('admin/settings/roles'), '@settings' => url('admin/settings/user'))) . '
'; - case 'admin/settings/roles': + case 'admin/config/people/permissions': + return '' . 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 Roles page to create a role). Two important roles to consider are Authenticated Users and Administrators. Any permissions granted to the Authenticated Users role will be given to any user who can log into your site. You can make any role the Administrator role for the site, meaning this will be granted all new permissions automatically. You can do this on the User Settings page. You should be careful to ensure that only trusted users are given this access and level of control of your site.', array('@role' => url('admin/config/people/roles'), '@settings' => url('admin/config/people/accounts'))) . '
'; + case 'admin/config/people/roles': return 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 in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the role names of the various roles. To delete a role choose "edit".
By default, Drupal comes with two user roles:
' . t('This form lets administrators add, edit, and arrange fields for storing user data.') . '
'; - case 'admin/settings/user/display': + case 'admin/config/people/accounts/display': return '' . t('This form lets administrators configure how fields should be displayed when rendering a user profile page.') . '
'; case 'admin/people/search': return '' . t('Enter a simple pattern ("*" may be used as a wildcard match) to search for a username or e-mail address. For example, one may search for "br" and Drupal might return "brian", "brad", and "brenda@example.com".') . '
'; Index: modules/user/user.test =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.test,v retrieving revision 1.55 diff -u -p -r1.55 user.test --- modules/user/user.test 17 Aug 2009 19:14:41 -0000 1.55 +++ modules/user/user.test 21 Aug 2009 09:05:28 -0000 @@ -871,7 +871,7 @@ class UserPermissionsTestCase extends Dr $this->assertFalse(user_access('administer nodes', $account, TRUE), t('User does not have "administer nodes" permission.')); $edit = array(); $edit[$rid . '[administer nodes]'] = TRUE; - $this->drupalPost('admin/settings/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t('Successful save message displayed.')); $this->assertTrue(user_access('administer nodes', $account, TRUE), t('User now has "administer nodes" permission.')); @@ -879,7 +879,7 @@ class UserPermissionsTestCase extends Dr $this->assertTrue(user_access('access user profiles', $account, TRUE), t('User has "access user profiles" permission.')); $edit = array(); $edit[$rid . '[access user profiles]'] = FALSE; - $this->drupalPost('admin/settings/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t('Successful save message displayed.')); $this->assertFalse(user_access('access user profiles', $account, TRUE), t('User no longer has "access user profiles" permission.')); } @@ -889,12 +889,12 @@ class UserPermissionsTestCase extends Dr */ function testAdministratorRole() { $this->drupalLogin($this->admin_user); - $this->drupalGet('admin/settings/user'); + $this->drupalGet('admin/config/people/accounts'); // Set the user's role to be the administrator role. $edit = array(); $edit['user_admin_role'] = $this->rid; - $this->drupalPost('admin/settings/user', $edit, t('Save configuration')); + $this->drupalPost('admin/config/people/accounts', $edit, t('Save configuration')); // Enable aggregator module and ensure the 'administer news feeds' // permission is assigned by default. @@ -1079,7 +1079,7 @@ class UserBlocksUnitTests extends Drupal $edit = array(); $edit['name'] = $user->name; $edit['pass'] = $user->pass_raw; - $this->drupalPost('admin/settings/permissions', $edit, t('Log in')); + $this->drupalPost('admin/config/people/permissions', $edit, t('Log in')); $this->assertNoText(t('User login'), t('Logged in.')); // Check that we are still on the same page.