You are here

function uc_coupon_perm in Ubercart Discount Coupons 6

Same name and namespace in other branches
  1. 5 uc_coupon.module \uc_coupon_perm()

Implementation of hook_perm().

File

./uc_coupon.module, line 190
Provides discount coupons for Ubercart.

Code

function uc_coupon_perm() {
  $perms = array(
    'view store coupons',
    'manage store coupons',
    'coupon wholesale pricing',
  );
  if (!module_exists('uc_reports')) {
    $perms[] = 'view reports';
  }
  return $perms;
}