문제

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