You are here

function lingotek_permission in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_permission()
  2. 7.3 lingotek.module \lingotek_permission()
  3. 7.4 lingotek.module \lingotek_permission()
  4. 7.5 lingotek.module \lingotek_permission()
  5. 7.6 lingotek.module \lingotek_permission()

Implements hook_permission().

1 call to lingotek_permission()
LingotekFunctionalTest::setUp in tests/lingotek.base.test
Does general setup for all Lingotek tests.

File

./lingotek.module, line 471

Code

function lingotek_permission() {
  return array(
    'access lingotek utilities' => array(
      'title' => t('Access Lingotek Utilities'),
      'description' => t('Access admin-only utility pages.'),
    ),
    'access per-item lingotek project selection' => array(
      'title' => t('Per-item Project Selection'),
      'description' => t('Access the Lingotek Project selector on content creation forms.'),
    ),
    'access per-item lingotek vault selection' => array(
      'title' => t('Per-item Vault Selection'),
      'description' => t('Access the Lingotek TM Vault selector on content creation forms.'),
    ),
    'administration' => array(
      'title' => 'Administration Menu',
      'description' => t('Access the administrative page for the module.'),
    ),
    'pm' => array(
      'title' => 'Project Management',
      'description' => t('Access the Lingotek tab on content types (Must also have permission to edit the content type in question).'),
    ),
    'translation' => array(
      'title' => 'Translate',
      'description' => t('Allow access to the workbench for translation (first) phases'),
    ),
    'review' => array(
      'title' => 'Review',
      'description' => t('Allow access to the workbench for review (following) phases.'),
    ),
    'phase_template' => array(
      'title' => 'Phase Template (
)',
      'description' => t('Allow node-level setting of the phase template on node creation.  Can only be set once per node.'),
    ),
    'use_source' => array(
      'title' => 'Paste Source',
      'description' => t('Allow node-level setting of showing the source when no translation is available yet'),
    ),
    'sync_method' => array(
      'title' => 'Synchronization Method',
      'description' => t('Allow node-level setting of setting the synchronization method'),
    ),
    'url_alias_translation' => array(
      'title' => 'URL Alias Translation',
      'description' => t('Allow node-level setting of setting the URL alias translation'),
    ),
    'mt' => array(
      'title' => 'Machine Translation',
      'description' => t('Allow node-level setting of machine translation'),
    ),
    'dev' => array(
      'title' => 'Developer',
      'description' => t('Access useful debugging features'),
    ),
  );
}