You are here

function uc_product_edit_access in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 uc_product/uc_product.module \uc_product_edit_access()

Menu access callback for 'node/%node/edit/product'.

1 string reference to 'uc_product_edit_access'
uc_product_menu in uc_product/uc_product.module
Implements hook_menu().

File

uc_product/uc_product.module, line 400
The product module for Ubercart.

Code

function uc_product_edit_access($node) {

  // Re-inherit access callback for 'node/%node/edit'
  return uc_product_is_product($node) && node_access('update', $node);
}