Index: cck_slideshow.module =================================================================== RCS file: /cvs/drupal/contributions/modules/cck_slideshow/cck_slideshow.module,v retrieving revision 1.1 diff -u -r1.1 cck_slideshow.module --- cck_slideshow.module 5 Jun 2007 00:43:24 -0000 1.1 +++ cck_slideshow.module 17 Aug 2007 16:12:40 -0000 @@ -17,15 +17,23 @@ if ($maycache) { $items[] = array( 'path' => 'admin/settings/cck_slideshow', - 'callback' => 'cck_slideshow_admin', - 'access' => TRUE, - 'type' => MENU_CALLBACK, + 'title' => t('CCK Slideshows'), + 'description' => t('Create JQuery Slideshows from images attached to nodes'), + 'access' => user_access('administer CCK Slideshows'), + 'callback' => 'cck_slideshow_admin' ); } return $items; } /** + * Implementation of hook_perm() in order implement access control to CCK Slideshows administration. + */ +function cck_slideshow_perm() { + return array('administer CCK Slideshows'); +} + +/** * Implementaiton of hook_help(). */ function cck_slideshow_help($section) {