You are here

function pm_permission in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pm.module \pm_permission()
  2. 7.3 pm.module \pm_permission()
  3. 7 pm.module \pm_permission()

Implements hook_permission().

File

./pm.module, line 30
Main module file for the Project Management module.

Code

function pm_permission() {
  return array(
    'Project Management: access dashboard' => array(
      'title' => t('Access Dashboard'),
      'description' => t('Allows the user to access the Project Management dashboard. The items included on the dashboard are set through permissions on the individual modules that provide those links.'),
    ),
    'Project Management: access administration pages' => array(
      'title' => t('Administer Project Management'),
      'description' => t('Allow the user to perform administrative tasks on Project Management modules, such as altering configuration.'),
    ),
  );
}