function tripal_pub_permission

2.x tripal_pub.module tripal_pub_permission()
3.x tripal_pub.module tripal_pub_permission()

Implement hook_permission().

Related topics

File

legacy/tripal_pub/tripal_pub.module, line 243
Basic functionality of the pub module

Code

function tripal_pub_permission() {
  return array(
    'access chado_pub content' => array(
      'title' => t('View Publications'),
      'description' => t('Allow users to view publication pages.'),
    ),
    'create chado_pub content' => array(
      'title' => t('Create Publication'),
      'description' => t('Allow users to create new publication pages.'),
    ),
    'delete chado_pub content' => array(
      'title' => t('Delete Publication'),
      'description' => t('Allow users to delete publication pages.'),
    ),
    'edit chado_pub content' => array(
      'title' => t('Edit Publications'),
      'description' => t('Allow users to edit publication pages.'),
    ),
    'administer tripal pub' => array(
      'title' => t('Administer Publications'),
      'description' => t('Allow users to administer all publications.'),
    ),
  );
}