You are here

function uc_attribute_perm in Ubercart 5

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

File

uc_attribute/uc_attribute.module, line 232

Code

function uc_attribute_perm() {
  if ($node->type == 'product_kit') {
    return FALSE;
  }
  return array(
    'administer attributes',
    'administer product attributes',
    'administer product options',
  );
}