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

有帮助吗?

解决方案

It turns out I had 'batch/delete' defined somewhere else, so I changed it and now it works.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top