--- nodefamily.module.1.19 2008-02-27 15:23:37.000000000 +0100 +++ nodefamily.module 2008-02-27 15:04:43.000000000 +0100 @@ -19,7 +19,7 @@ function nodefamily_menu($may_cache) { 'title' => t('Node family'), 'description' => t('Manage relations between content types.'), 'callback' => 'nodefamily_admin_page', - 'access' => user_access('administer nodes'), + 'access' => user_access('administer nodefamily'), ); $items[] = array( 'path' => 'nodefamily', @@ -31,6 +31,13 @@ function nodefamily_menu($may_cache) { return $items; } +/** + * Implementation of hook_perm + */ +function nodefamily_perm() { + return array('administer nodefamily'); +} + /** * Menu callback; provide the means to add and remove relations between