summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 0effc2601..d59cd9d99 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -491,7 +491,12 @@ function user_is_blocked($name) {
* Implementation of hook_perm().
*/
function user_perm() {
- return array('administer permissions', 'administer users', 'access user profiles', 'change own username');
+ return array(
+ 'administer permissions' => t('Manage the permissions assigned to user roles. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
+ 'administer users' => t('Manage or block users, and manage their role assignments.'),
+ 'access user profiles' => t('View profiles of users on the site, which may contain personal information.'),
+ 'change own username' => t('Select a different username.'),
+ );
}
/**