You are here

function uc_credit_permission in Ubercart 7.3

Implements hook_permission().

File

payment/uc_credit/uc_credit.module, line 95
Defines the credit card payment method and hooks in payment gateways.

Code

function uc_credit_permission() {
  return array(
    'administer credit cards' => array(
      'title' => t('Administer credit cards'),
      'restrict access' => TRUE,
    ),
    'process credit cards' => array(
      'title' => t('Process credit cards'),
    ),
    'view cc details' => array(
      'title' => t('View credit card details'),
    ),
  );
}