You are here

function uc_attribute_product_class_access in Ubercart 7.3

Same name and namespace in other branches
  1. 5 uc_attribute/uc_attribute.module \uc_attribute_product_class_access()
  2. 6.2 uc_attribute/uc_attribute.module \uc_attribute_product_class_access()

Access callback for editing a product class's attributes and options.

1 string reference to 'uc_attribute_product_class_access'
uc_attribute_menu in uc_attribute/uc_attribute.module
Implements hook_menu().

File

uc_attribute/uc_attribute.module, line 201
Ubercart Attribute module.

Code

function uc_attribute_product_class_access() {
  return user_access('administer product classes') && user_access('administer attributes');
}