Closed (fixed)
Project:
Bookmark Us
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2008 at 04:01 UTC
Updated:
27 Aug 2008 at 09:52 UTC
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.