You are here

function redhen_contact_permission in RedHen CRM 7

Implements hook_permission().

File

modules/redhen_contact/redhen_contact.module, line 580
Module file for RedHen contacts.

Code

function redhen_contact_permission() {
  return array(
    'administer redhen_contact types' => array(
      'title' => t('Administer RedHen Contact Types'),
      'description' => t('Manage RedHen contact types and their structure.'),
    ),
    'administer redhen contacts' => array(
      'title' => t('Administer RedHen Contacts'),
      'description' => t('Perform administration tasks for RedHen Contacts.'),
    ),
    'manage redhen contacts' => array(
      'title' => t('Manage RedHen Contacts'),
      'description' => t('Create, update or delete RedHen Contacts.'),
    ),
    'access redhen contacts' => array(
      'title' => t('Access Redhen Contacts'),
      'description' => t('View RedHen Contacts.'),
    ),
    'view own redhen contact' => array(
      'title' => t('Access Own Redhen Contact.'),
      'description' => t('View your own contact information.'),
    ),
    'edit own redhen contact' => array(
      'title' => t('Edit Own Redhen Contact.'),
      'description' => t('Edit your own contact information.'),
    ),
    'view redhen contact revisions' => array(
      'title' => t('View Redhen Contact revisions'),
    ),
    'edit redhen contact revisions' => array(
      'title' => t('Edit Redhen Contact revisions'),
    ),
    'delete redhen contact revisions' => array(
      'title' => t('Delete Redhen Contact revisions'),
    ),
  );
}