diff --git a/commerce_backoffice_product.module b/commerce_backoffice_product.module index 135003b..0cb2ed7 100644 --- a/commerce_backoffice_product.module +++ b/commerce_backoffice_product.module @@ -19,7 +19,8 @@ function commerce_backoffice_product_menu() { 'page callback' => 'commerce_backoffice_product_variations_view', 'page arguments' => array(2), 'delivery callback' => 'ajax_deliver', - 'access arguments' => array('administer commerce_product entities'), + 'access callback' => 'node_access', + 'access arguments' => array('update', 2), ); // The overriden node/add type listing.