function user_edit_access

Access callback for user account editing.

1 call to user_edit_access()
profile_category_access in modules/profile/profile.module
Menu item access callback - check if a user has access to a profile category.
2 string references to 'user_edit_access'
openid_menu in modules/openid/openid.module
Implements hook_menu().
user_menu in modules/user/user.module
Implements hook_menu().

File

modules/user/user.module, line 1627

Code

function user_edit_access($account) {
    return ($GLOBALS['user']->uid == $account->uid || user_access('administer users')) && $account->uid > 0;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.