2766: Web api 'review-requests' not returning draft review requests

ee**@plaxi***** (Google Code) (Is this you? Claim this profile.)
Sept. 20, 2014
What version are you running?
1.6.11

What's the URL of the page containing the problem?
/api/review-requests/?status=all

What steps will reproduce the problem?
1. Make a connection using basic auth as admin.
2. Make sure another user other than the admin has created a draft review (not public).
3. Fetch all review-requests using the web-api call /api/review-requests/?status=all

What is the expected output? What do you see instead?
While being logged-in as admin (basic-auth) I expect when making this api-call to get all available review-requests, including the private (draft) review-requests. Instead, I only see the review-requests that are published by other users.
When being logged in as the user to whom the draft review-request belongs to, I do get these draft review-requests included in the list.

What operating system are you using? What browser?
Server: Ubuntu Server 10.04.3 LTS

Please provide any additional information below.
I fetched all results by following the 'next' links.
#1 ee**@plaxi***** (Google Code) (Is this you? Claim this profile.)
I call the web-api from my local Windows 7 x64 machine running python 2.7.1 x32.

For the connection I use urllib3, which gives back the response in json-format.
chipx86
#2 chipx86
  • +Confirmed
  • +Milestone-Release1.6.x
    +Component-API
david
#3 david
  • -Milestone-Release1.6.x
david
#4 david
  • +EasyFix
#5 r.v****@gmai***** (Google Code) (Is this you? Claim this profile.)
I (Raheman Vaiya) will take this as my UCOSP intro bug.
#6 rd***@sfu*** (Google Code) (Is this you? Claim this profile.)
I'll look into this for my easyfix bug. 
- Ryan Done
david
#7 david
Fixed in release-2.0.x (28dbc4a). Thanks!
  • -Confirmed
    +Fixed