function nr_owners_node_registration_access in Node registration 7
Implements hook_node_registration_access().
File
- submodules/
nr_owners/ nr_owners.module, line 55
Code
function nr_owners_node_registration_access($registration, $op, $account, $reason) {
if (in_array($op, array(
'edit',
'update',
)) && $registration->node->uid == $account->uid) {
return TRUE;
}
}