You are here

function commerce_license_permission in Commerce License 7

Implements hook_permission().

File

./commerce_license.module, line 213
Provides a framework for selling access to local or remote resources.

Code

function commerce_license_permission() {
  return array(
    'administer licenses' => array(
      'title' => t('Administer licenses'),
      'restrict access' => TRUE,
    ),
    'view all licenses' => array(
      'title' => t('View all licenses'),
      'restrict access' => TRUE,
    ),
    'view own licenses' => array(
      'title' => t('View own licenses'),
    ),
  );
}