You are here

function twilio_edit_access in Twilio 7

Access callback for twilio account editing.

1 call to twilio_edit_access()
twilio_user_login in ./twilio.user.inc
Implements hook_user_login().
1 string reference to 'twilio_edit_access'
twilio_menu_alter in ./twilio.module
Implements hook_menu_alter().

File

./twilio.module, line 98
Twilio module

Code

function twilio_edit_access($account) {
  return user_edit_access($account) && user_access('edit own sms number');
}