function user_edit_access

Access callback for user account editing.

1 call to user_edit_access()
LinkEdit::render_link in drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php
2 string references to 'user_edit_access'
openid_menu in drupal/core/modules/openid/openid.module
Implements hook_menu().
user_menu in drupal/core/modules/user/user.module
Implements hook_menu().

File

drupal/core/modules/user/user.module, line 1024
Enables the user registration and login system.

Code

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