You are here

function commerce_gc_permission in Commerce GC 7

File

./commerce_gc.module, line 410
Provides Giftcard coupon bundle, Giftcard Transaction entity and basic user interface elements.

Code

function commerce_gc_permission() {
  return array(
    'administer giftcard transactions' => array(
      'title' => t('Administer giftcard transactions'),
    ),
    'administer giftcards' => array(
      'title' => t('Administer giftcards'),
    ),
    'view own giftcard transactions' => array(
      'title' => t('View own giftcard transactions'),
    ),
    'create new giftcard transactions' => array(
      'title' => t('Create new giftcard transactions'),
    ),
    'delete giftcard transactions' => array(
      'title' => t('Delete giftcard transactions'),
    ),
  );
}