You are here

function commerce_stripe_connect_permission in Commerce Stripe 7.3

Implements hook_permission().

File

modules/commerce_stripe_connect/commerce_stripe_connect.module, line 46
Adds support for Stripe Connect using a single site-wide client ID.

Code

function commerce_stripe_connect_permission() {
  return array(
    'administer commerce stripe platform' => array(
      'title' => t('Administer Stripe platform settings'),
      'description' => t('Allows users to register platform data and view connected accounts.'),
      'restrict access' => TRUE,
    ),
    'commerce stripe connect site' => array(
      'title' => t('Connect site to Standard Stripe account'),
      'description' => t('Allows users to connect the site to a Standard Stripe account or revoke access to it.'),
      'restrict access' => TRUE,
    ),
  );
}