Closed (fixed)
Project:
Menu Block Split
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2008 at 10:50 UTC
Updated:
21 Feb 2009 at 17:50 UTC
$items[] = array(
'path' => 'admin/settings/mbs',
'title' => t('Menu block split'),
'access' => user_access('maintain personal blog'),
'callback' => 'drupal_get_form',
'callback arguments' => array('menu_block_split_settings'),
'access' => user_access('administer menu block split'),
'description' => t('Settings for Menu Block Split'),
);
Shouldn't the first access (with the 'maintain personal blog' string in) be removed ? Didn't add a patch since this is quite trivial to fix.
Comments
Comment #1
David Stosik commentedSame problem on 1.2 version.
Also, the permission defined is 'administer menu block split module.' , and user_access is called with the argument 'administer menu block split'.
This is pretty critical and touches many versions...
Comment #2
robertgarrigos commentedfixed in both branches. commited to dev . thanks