Incorrect value for 'access' in hook_menu

rayvaughn - January 27, 2009 - 12:37
Project:Interests
Version:5.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

For each menu item that should have admin only access the code says:

      'access' => user_access('admin interests'),

when it should say

      'access' => user_access('administer interests'),

This doesn't affect the main admin, just means no other roles can administer the module.

cheers

Marcus

#1

Justin W Freeman - April 26, 2009 - 03:03
Status:active» fixed

This is fixed in 5.x-2.1 and also the Drupal 6 version.

#2

System Message - May 10, 2009 - 03:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.