function tripal_phylogeny_permission
2.x tripal_phylogeny.module | tripal_phylogeny_permission() |
3.x tripal_phylogeny.module | tripal_phylogeny_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
Related topics
File
- legacy/
tripal_phylogeny/ tripal_phylogeny.module, line 31 - Integrates the Chado Phylotree module with Drupal Nodes & Views
Code
function tripal_phylogeny_permission() {
return array(
'access chado_phylotree content' => array(
'title' => t('View Phylotrees'),
'description' => t('Allow users to view phylotree pages.'),
),
'administer tripal phylotree' => array(
'title' => t('Administer Phylotrees'),
'description' => t('Allow users to administer all phylotrees.'),
),
);
}