johnmckerrell / OpenStreetView

An open licensed repository of street level photography, with metadata.
http://www.openstreetview.org/
32 stars 16 forks source link

401 Authorization Required when newly-verified account requests photos to moderate #26

Closed L2G closed 11 years ago

L2G commented 11 years ago

I recently signed up for Open Street View and verified my account via email, but I'm unable to request photos to moderate.

A quick check of the JavaScript console in Google Chrome shows me that I am getting a 401 "Authorization Required" error in response to a request for http://openstreetview.org/api/photos/request_more (presumably triggered by JS code).

It's not clear whether this is because:

johnmckerrell commented 11 years ago

Hi, thanks for pointing this out, I upgraded the version of Rails on the server yesterday so I think this has caused the problem. I'll take a look tomorrow and get it fixed.

L2G commented 11 years ago

Cool, thanks!

L2G commented 11 years ago

John, did you get a chance to look at this today?

johnmckerrell commented 11 years ago

Sorry, no, been bogged down with some other work.

johnmckerrell commented 11 years ago

Ok, try that now, any good?

L2G commented 11 years ago

Yes, it is! Thank you!

I noticed that I was able to moderate one of my own uploads, though. Should I not be able to do that? (Is that worth me writing another ticket?)

johnmckerrell commented 11 years ago

No, that's fine, you can moderate your own uploads and are encouraged to do so as it might make things easier for the other moderators. Each image must be approved by 3 people before it is visible, so at least 2 people other than the owner should end up checking it.