The access of build macro should be "create gmap macro" but not "create macro"

wanghl165 - August 5, 2009 - 07:11
Project:GMap Field
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

on line 623:

  if (module_exists('gmap_macro_builder') && user_access('create macro')) {

should be:
  if (module_exists('gmap_macro_builder') && user_access('create gmap macro')) {

The access "create gmap macro" was given by gmap_macro_builder.module

#1

wanghl165 - August 5, 2009 - 07:13
AttachmentSize
gmap_macro.jpg 11.64 KB

#2

zzolo - November 22, 2009 - 18:29
Status:active» fixed

Updated, thanks. http://drupal.org/node/639870

#3

System Message - December 6, 2009 - 18:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.