You are here

function invoice_permission in Invoice 7

Implements hook_perm()

File

./invoice.module, line 210
Invoice module

Code

function invoice_permission() {
  return array(
    'access invoices' => array(
      'title' => t('Access invoices'),
      'description' => t('Provides access to invoices.'),
    ),
    'administer invoices' => array(
      'title' => t('Administer invoices'),
      'description' => t('Provides the privilege to administer invoices.'),
    ),
    'administer own invoices' => array(
      'title' => t('Administer own invoices'),
      'description' => t('Provices the privilege to administer own created invoices.'),
    ),
  );
}