gklyne / admiral-jiscmrd

Automatically exported from code.google.com/p/admiral-jiscmrd
MIT License
0 stars 0 forks source link

Databank admin page stuck on 403 Forbidden #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Browse to http://databank.ora.ox.ac.uk/admin
2. Enter username "admiral" and password
3. system displays "403 forbidden"
4. Browse again to http://databank.ora.ox.ac.uk/admin
5. system displays "403 forbidden", without prompting for username/password

What is the expected output? What do you see instead?

I expect to be re-prompted for a different username and password

Original issue reported on code.google.com by gk-goo...@ninebynine.org on 16 Mar 2011 at 11:57

GoogleCodeExporter commented 8 years ago
Fix typo

Original comment by gk-goo...@ninebynine.org on 16 Mar 2011 at 11:59

GoogleCodeExporter commented 8 years ago
It behaves that way because the user has been authenticated, but the user does 
not have sufficient rights and so I return a 403. Hmmm, I don't return the 
reason, which I should.

Actually, reading the status code definitions again, a 401 would be appropriate 
in this scenario. I'll make that change.

Original comment by anus...@gmail.com on 17 Mar 2011 at 10:36

GoogleCodeExporter commented 8 years ago
It should now ask for credentials

Original comment by anus...@gmail.com on 17 Mar 2011 at 10:42