You are here

function uc_attribute_product_class_access in Ubercart 5

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

Helper function for handling menu access.

1 call to uc_attribute_product_class_access()
uc_attribute_menu in uc_attribute/uc_attribute.module
Implementation of hook_menu().

File

uc_attribute/uc_attribute.module, line 212

Code

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