You are here

function page_manager_permission in Chaos Tool Suite (ctools) 7

Implements hook_permission().

File

page_manager/page_manager.module, line 40
The page manager module provides a UI and API to manage pages.

Code

function page_manager_permission() {
  return array(
    'use page manager' => array(
      'title' => t('Use Page Manager'),
      'description' => t("Allows users to use most of Page Manager's features, though restricts some of the most powerful, potentially site-damaging features. Note that even the reduced featureset still allows for enormous control over your website."),
      'restrict access' => TRUE,
    ),
    'administer page manager' => array(
      'title' => t('Administer Page Manager'),
      'description' => t('Allows complete control over Page Manager, i.e., complete control over your site. Grant with extreme caution.'),
      'restrict access' => TRUE,
    ),
  );
}