You are here

function commerce_order_permission in Commerce Core 7

Implements hook_permission().

File

modules/order/commerce_order.module, line 316
Defines the core Commerce order entity and API functions to manage orders and interact with them.

Code

function commerce_order_permission() {
  return commerce_entity_access_permissions('commerce_order') + array(
    'configure order settings' => array(
      'title' => t('Configure order settings'),
      'description' => t('Allows users to configure order settings for the store.'),
      'restrict access' => TRUE,
    ),
  );
}