I created a nodequeue ,
assigned permission as 'Manipulatoreth queues' to a role to edit or rearrange queues.
But it didn't work.
it was throwing 'Access denied'
may be the 'access callback' => 'nodequeue_queue_access', is not defined in hook_permissions().
.module file line 127
<?php
$items['admin/structure/nodequeue/%nodequeue/view'] = array(
'title' => 'View',
'page callback' => 'nodequeue_admin_view',
'page arguments' => array(3),
'access callback' => 'nodequeue_queue_access',
'access arguments' => array(3),
'file' => 'includes/nodequeue.admin.inc',
'weight' => -10,
'type' => MENU_DEFAULT_LOCAL_TASK
);
?>
Please ignore php tags
Comments
Comment #1
othermachines commentedHi, rajiv. Did you this sorted?
There are many reasons why you may be getting 'Access denied', most of them not associated with this module.
There just isn't enough information here. If you're still having difficulties please provide more details.
FYI:
nodequeue_queue_accessisn't a permission, it is the name of a callback function.Comment #2
fizk commentedIf this issue still effects anyone, please reopen and describe how to reproduce.