You are here

function patch_manager_access in Patch manager 6

Implementation of hook_access().

File

./patch_manager.module, line 76
patch_manager.module Patch manager provides developers with tools for managing patches.

Code

function patch_manager_access($op, $node, $account) {
  switch ($op) {
    case 'create':
    case 'update':
    case 'delete':
      return user_access('administer patch manager', $account);
  }
}