Closed (fixed)
Project:
Google Maps location
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jun 2009 at 03:13 UTC
Updated:
6 Jul 2009 at 11:30 UTC
The menu admin/settings/gmaplocation will only work for User 1.
The menu has access argument as:
$items['admin/settings/gmaplocation'] = array(
'title' => 'Google Maps location',
'description' => 'Configure Google Maps location.',
'page callback' => 'drupal_get_form',
'page arguments' => array('gmaplocation_admin_settings'),
'access callback' => 'user_access',
'access arguments' => array('admin gmaplocation'), // <-------- should be "edit gmaplocation" to match the hook_perm
'type' => MENU_NORMAL_ITEM,
);
Comments
Comment #1
babbage commentedWell spotted. Fixed in http://drupal.org/cvs?commit=228186