function tripal_cv_permission
2.x tripal_cv.module | tripal_cv_permission() |
3.x tripal_cv.module | tripal_cv_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
- tripal_cv/
tripal_cv.module, line 258 - Provides functions for managing chado controlled vocabularies which are used ubiquitously throughout chado.
Code
function tripal_cv_permission() {
return array(
'administer controlled vocabularies' => array(
'title' => t('Administer controlled vocabularies (CVs).'),
'description' => t('Allow a user to add, edit and delete controlled vocabularies as well as add and edit terms.')
),
);
}