Index: taxonomy_hide.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_hide/taxonomy_hide.module,v retrieving revision 1.9 diff -u -p -r1.9 taxonomy_hide.module --- taxonomy_hide.module 3 Aug 2007 16:56:58 -0000 1.9 +++ taxonomy_hide.module 31 Jan 2009 19:25:23 -0000 @@ -2,6 +2,13 @@ // $Id: taxonomy_hide.module,v 1.9 2007/08/03 16:56:58 davidlesieur Exp $ /** +* Implementation of hook_perm(). +*/ +function taxonomy_hide_perm() { + return array('administer taxonomy hide'); +} + +/** * Implementation of hook_menu(). */ function taxonomy_hide_menu($may_cache) { @@ -13,7 +20,7 @@ function taxonomy_hide_menu($may_cache) 'description' => t('Hide and group vocabulary terms in node views.'), 'callback' => 'drupal_get_form', 'callback arguments' => 'taxonomy_hide_admin_settings', - 'access' => user_access('administer site configuration'), // or 'administer taxonomy' + 'access' => user_access('administer taxonomy hide'), // or 'administer taxonomy' ); }