You are here

function uc_wishlist_permission in UC Wish List 7

Implements hook_permission().

File

./uc_wishlist.module, line 127
Allows users to create public shopping/wish lists.

Code

function uc_wishlist_permission() {
  return array(
    'administer wish lists' => array(
      'title' => t('Administer wish lists'),
      'description' => t('Allows editing or deletion of any wish list.'),
    ),
    'create wish lists' => array(
      'title' => t('Create wish lists'),
      'description' => t('Allow creation and editing of own wish list.'),
    ),
    'access wish lists' => array(
      'title' => t('Access wish lists'),
      'description' => t('Allow viewing of any wish list.'),
    ),
    'email wishlist' => array(
      'title' => t('Email Own wish list'),
      'description' => t('Allow Email Own wish list'),
    ),
  );
}