Made changes/upgrades to my mailhandler module and
"Access denied" bug is fixed to be compatible with drupal 4.5R. The discussion started from this post http://drupal.org/node/11239. Please update the cvs accordingly,

-- function mailhandler_menu() {
++ function mailhandler_menu($may_cache) {

global $user;

$items = array();

++ if ($may_cache) {
++ $access = user_access('administer mailhandler');

$items[] = array('path' => 'admin/settings/mailhandler',
'title' => t('mailhandler'),
'callback' => 'mailhandler_admin',
- 'access' => user_access('administer mailhandler'));
+ 'access' => $access);
$items[] = array('path' => 'admin/settings/mailhandler/list',
'title' => t('list'),
- 'type' => MENU_DEFAULT_LOCAL_TASK);
+ 'type' => MENU_DEFAULT_LOCAL_TASK,
+ 'access' => $access);
$items[] = array('path' => 'admin/settings/mailhandler/add',
'title' => t('add mailbox'),
- 'type' => MENU_DEFAULT_LOCAL_TASK);
+ 'type' => MENU_LOCAL_TASK,
+ 'access' => $access);
+ }
return $items;
}

Comments

killes@www.drop.org’s picture

Please use our bug tracking system for fixes to contrib modules.

--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.

gkrishna’s picture

I have submitted the fix here, http://drupal.org/node/11277

--**--
krishna