You are here

function me_user_edit_access in me aliases 6

Menu access callback to check access before user edit redirection takes place. This keeps 'me' in the path when access will be denied anyway, and saves an extra request.

TODO: Remove when/if http://drupal.org/node/109588 gets in.

1 string reference to 'me_user_edit_access'
me_menu in ./me.module
Implementation of hook_menu().

File

./me.module, line 553
Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.

Code

function me_user_edit_access() {
  return user_edit_access($GLOBALS['user']);
}