function tripal_featuremap_permission
2.x tripal_featuremap.module | tripal_featuremap_permission() |
3.x tripal_featuremap.module | tripal_featuremap_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_featuremap/ tripal_featuremap.module, line 56 - Integrates the Chado Map module with Drupal Nodes & Views
Code
function tripal_featuremap_permission() {
return array(
/*
'access chado_featuremap content' => array(
'title' => t('View Maps'),
'description' => t('Allow users to view map pages.'),
),
'create chado_featuremap content' => array(
'title' => t('Create Maps'),
'description' => t('Allow users to create new map pages.'),
),
'delete chado_featuremap content' => array(
'title' => t('Delete Maps'),
'description' => t('Allow users to delete map pages.'),
),
'edit chado_featuremap content' => array(
'title' => t('Edit Maps'),
'description' => t('Allow users to edit map pages.'),
),
'administer tripal featuremap' => array(
'title' => t('Administer Maps'),
'description' => t('Allow users to administer all maps.'),
),
*/
);
}