function user_settings_access_help in User Settings Access 7
Same name and namespace in other branches
- 6 user_settings_access.module \user_settings_access_help()
Implements hook_help().
File
- ./
user_settings_access.module, line 29 - Additional permission for more granular control of user settings and users.
Code
function user_settings_access_help($path, $arg) {
if ($path == 'admin/help#user_settings_access') {
$txt = '<p>' . t('Out of the box Drupal has just one permissions, <em>adminster users</em>, which controls both user settings and editing users. The site administrator can either grant both privileges to a role or neither of them.') . '</p>';
$txt .= '<p>' . 'This mini module provides additional permission for user settings. This allows now the site administrator to grant either user settings or administer users, or even both privileges if wanted. Often it could be clearer and helpful to allow others to manage users but restrict the general users settings only to admin.' . '</p>';
return $txt;
}
}