Issue

If an anonymous user goes to a page they can't access they get redirected to the "access denied" page and causes a redirect loop.
example Firefox redirect error

Steps to reproduce

  • Log out
  • Navigate to a restricted page e.g. /admin/structure/block
  • Loopty lieu

I think we should check if the user is anonymous before the access check.

Comments

Tim Bozeman created an issue. See original summary.

tim bozeman’s picture

Assigned: tim bozeman » Unassigned
Status: Needs work » Needs review
StatusFileSize
new743 bytes

Check if user is anonymous before the access check.

aveldina’s picture

Works for me, thanks.

tunic’s picture

Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

Raising priority to Major, but marking this as RTBC :)

adrian1231’s picture

Thank you for the fix. The new version of the module contains your patch

adrian1231’s picture

Status: Reviewed & tested by the community » Fixed
tim bozeman’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.