You are here

function redhen_relation_permission in RedHen CRM 7

Implements hook_permission().

File

modules/redhen_relation/redhen_relation.module, line 199
Redhen CRM Relation Module.

Code

function redhen_relation_permission() {
  return array(
    'view redhen org connections' => array(
      'title' => t('Access RedHen Org Connections'),
      'description' => t('View the connections for an organization.'),
    ),
    'view redhen contact connections' => array(
      'title' => t('Access RedHen Contact Connections'),
      'description' => t('View the connections for a contact.'),
    ),
    'edit redhen org connections' => array(
      'title' => t('Manage RedHen Org Connections'),
      'description' => t('Add and edit connections for an organization.'),
    ),
    'edit redhen contact connections' => array(
      'title' => t('Manage RedHen Contact Connections'),
      'description' => t('Add and edit connections for a contact.'),
    ),
    'delete redhen org connections' => array(
      'title' => t('Delete RedHen Org Connections'),
      'description' => t('Delete connections for an organization.'),
    ),
    'delete redhen contact connections' => array(
      'title' => t('Delete RedHen Contact Connections'),
      'description' => t('Delete connections for a contact.'),
    ),
    'administer relation roles' => array(
      'title' => t('Administer redhen relation roles'),
      'description' => t('Administer redhen relation roles.'),
    ),
  );
}