Closed Bug 947335 Opened 11 years ago Closed 11 years ago

"insufficient privileges" on /login/?next=/report/exploitability/

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rhelmer, Assigned: peterbe)

Details

Attachments

(2 files)

Steps to reproduce: 1) log out of crash-stats 2) load https://crash-stats.mozilla.com/report/exploitability/ 3) "Login Required", so login with Persona Actual: redirected to https://crash-stats.mozilla.com/login/?next=/report/exploitability/ with "Insufficient Privileges" Expected: redirected to https://crash-stats.mozilla.com/login/?next=/report/exploitability/ and shown same report as https://crash-stats.mozilla.com/report/exploitability/
I'm able to reproduce this locally. I think the "Insufficient Privileges" message is correct. That appears if you're redirected to the /login/ page and logged in at the same time. Basically, the error is that you shouldn't be redirected there at all. I think the error is in the way we tell django-browserid which page to go to next if the login is successful.
Attached file Github PR
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 69
Summary: "unsufficient privileges" on /login/?next=/report/exploitability/ → "insufficient privileges" on /login/?next=/report/exploitability/
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: