You are here

function gotwo_permission in Go - url redirects 7

Implements hook_permission().

File

./gotwo.module, line 19
Module that provides easy to use redirection links. A redirection link would be like: http://examples.org/go/a_label http://examples.org/go/123546 http://examples.org/go/or/like/this

Code

function gotwo_permission() {
  return array(
    'administer gotwo' => array(
      'title' => t('Administer gotwo'),
      'description' => t('Perform maintenance tasks for Gotwo module.'),
    ),
    'edit gotwo redirects' => array(
      'title' => t('Edit gotwo redirects'),
      'description' => t("Allow users to add or edit 'go' URLs."),
    ),
    'view gotwo redirects' => array(
      'title' => t('View gotwo redirects'),
      'description' => t("Allow users to view the existing 'go' URLs."),
    ),
  );
}