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

babbage’s picture

Assigned: Unassigned » babbage
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.