openrightsgroup / cmp-issues

Centralised issue-tracking for the Blocked backend
2 stars 0 forks source link

Redirect admin pages to login page on 403 Forbidden response #221

Open edjw opened 5 years ago

edjw commented 5 years ago

As an admin user, I'd like to be redirected to the login page /control when I am not logged in and request an admin page such as https://www.blocked.org.uk/control/ispreports/category-status. At the moment, I get a 403 Forbidden page. This happens when I click a link to an admin page but I haven't used the site in a few days.

I think current admins could probably work out how to get around this but it seems like a small fix.