function tripal_db_permission

2.x tripal_db.module tripal_db_permission()
3.x tripal_db.module tripal_db_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_db/tripal_db.module, line 74
General functions for the db module

Code

function tripal_db_permission() {
  return array(
    'administer db cross-references' => array(
      'title' => t('Administer External Database Cross-references.'),
      'description' => t('Allows the user to add, edit or delete external databases references stored in the Chado database.'),
    ),
  );
}