You are here

function casetracker_permission in Case Tracker 7

Same name and namespace in other branches
  1. 7.2 casetracker.module \casetracker_permission()

Implements hook_permission().

File

./casetracker.module, line 34
Enables the handling of projects and their cases.

Code

function casetracker_permission() {
  return array(
    'administer case tracker' => array(
      'title' => t('Administer Case Tracker'),
      'description' => t('Change main options of Case Tracker.'),
    ),
    'assign cases' => array(
      'title' => t('Assign cases'),
      'description' => t('Assign cases to users.'),
    ),
    'change own case project' => array(
      'title' => t('Change own case project'),
    ),
    'change any case project' => array(
      'title' => t('change any case project'),
    ),
    'change own case priority' => array(
      'title' => t('Change own case priority'),
    ),
    'change any case priority' => array(
      'title' => t('Change any case priority'),
    ),
    'change own case status' => array(
      'title' => t('Change own case status'),
    ),
    'change any case status' => array(
      'title' => t('Change any case status'),
    ),
    'change own case type' => array(
      'title' => t('Change own case type'),
    ),
    'change any case type' => array(
      'title' => t('Change any case type'),
    ),
  );
}