You are here

function commerce_discount_access in Commerce Discount 7

Access callback for commerce_discount entities.

1 string reference to 'commerce_discount_access'
commerce_discount_entity_info in ./commerce_discount.module
Implements hook_entity_info().

File

./commerce_discount.module, line 555
Defines the discount and discount offer entities, bundles and functionality.

Code

function commerce_discount_access($op, $entity, $account, $entity_type) {
  return user_access('administer commerce discounts', $account);
}