function makemeeting_edit_answer_access in Make Meeting Scheduler 7.2
Access callback: edit an answer
Parameters
$answer:
Return value
bool
1 string reference to 'makemeeting_edit_answer_access'
- makemeeting_menu in ./
makemeeting.module - Implements hook_menu().
File
- ./
makemeeting.module, line 99 - Hooks and field implementations
Code
function makemeeting_edit_answer_access($answer) {
global $user;
return user_access(MAKEMEETING_EDIT_PERM) || user_is_logged_in() && $answer->uid == $user->uid;
}