function tripal_analysis_permission

2.x tripal_analysis.module tripal_analysis_permission()
3.x tripal_analysis.module tripal_analysis_permission()

Implements hook_permission().

Set the permission types that the chado module uses. Essentially we want permissionis that protect creation, editing and deleting of chado data objects

File

legacy/tripal_analysis/tripal_analysis.module, line 146
Contains basic functionality for the analysis module.

Code

function tripal_analysis_permission() {
  return array(
    /*
    'access chado_analysis content' => array(
      'title' => t('View Analyses'),
      'description' => t('Allow users to view analysis pages.'),
    ),
    'create chado_analysis content' => array(
      'title' => t('Create Analyses'),
      'description' => t('Allow users to create new analysis pages.'),
    ),
    'delete chado_analysis content' => array(
      'title' => t('Delete Analyses'),
      'description' => t('Allow users to delete analysis pages.'),
    ),
    'edit chado_analysis content' => array(
      'title' => t('Edit Analyses'),
      'description' => t('Allow users to edit analysis pages.'),
    ),
    'administer tripal analysis' => array(
      'title' => t('Administer Analyses'),
      'description' => t('Allow users to administer all analyses.'),
    ),
    */
  );
}