It turns out I had 'batch/delete' defined somewhere else, so I changed it and now it works.
Why can't my user access a certain page?
-
11-07-2023 - |
Pergunta
In the user's roles "site developer" is checked. In the permission's page for "site developer", "developer" is checked
In my module I have the following:
$items['batch/delete'] = array(
'page callback' => 'batch_delete',
'access arguments' => array('developer'),
'access callback' => TRUE,
'type' => MENU_CALLBACK
);
They are getting an error in Chrome: This webpage has a redirect loop
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow