I was giving a site editor access to the admin menu so they can edit content and people and they got one link to edit the gcal events module settings. I checked the access arguments and its set to 'access administration pages' I would think the more appropriate access would be site configuration. I can give a site editor access to limited items on the admin pages but I don't want them to have access to the gcal events module settings which I would classify as administer site configuration. So I recommend this change in gcal_events_menu()
'access arguments' => array('administer site configuration'),
Even better would be to create a new permission access and let it be chosen via permissions who can see & configure it.
Comments
Comment #1
jdwfly CreditAttribution: jdwfly commentedActually it would seem that the current permission gives more limited access than what you propose. There is a warning on the 'administer site configuration' one that it should only be given to trusted users. Of course I could just create a new permission for Gcal_events and then this would not be a problem.
Comment #3
jdwfly CreditAttribution: jdwfly commented