You are here

function commerce_pricelist_permission in Commerce Pricelist 7

Implements hook_permission().

File

./commerce_pricelist.module, line 310
Implements the basic functionality required for price lists

Code

function commerce_pricelist_permission() {
  $permissions = array(
    'administer commerce_pricelist_list entities' => array(
      'title' => t('Administer commerce_pricelist_list entities'),
    ),
    'view any commerce_pricelist_list entity' => array(
      'title' => t('View any Price list entity'),
    ),
    'edit any commerce_pricelist_list entity' => array(
      'title' => t('Edit any Price list entity'),
    ),
    'create commerce_pricelist_list entities' => array(
      'title' => t('Create Price list Entities'),
    ),
  );
  return $permissions;
}