I am user # 1, but I get and access denied message when trying to access admin/settings/bookmark_us .
It seems like the hook_menu() item is missing an "access arguments" element.
It should be:
$items['admin/settings/bookmark_us'] = array(
'title' => t('Bookmark Us'),
'description' => t('Bookmark Us configuration.'),
'page callback' => 'drupal_get_form',
'page arguments' => array('bookmark_us_settings'),
'access arguments' => array('access administration pages'), // this is the line I added
'type' => MENU_NORMAL_ITEM,
);
It worked for me.
-Corey
Comments
Comment #1
Gurpartap Singh commentedThanks! Committed!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.