function patch_manager_node_access in Patch manager 7
Implements hook_node_access().
File
- ./
patch_manager.module, line 87 - Patch manager provides developers with tools for managing patches.
Code
function patch_manager_node_access($node, $op, $account) {
switch ($op) {
case 'create':
case 'update':
case 'delete':
return user_access('administer patch manager', $account);
}
}