Allow inactive users to be fetched from the API

Review Request #8667 - Created Jan. 26, 2017 and submitted

Barret Rennie
Review Board
release-2.5.x
39bab3c...
reviewboard

Previously attempting to retrieve a user from the API who had been set
to inactive would result in a 404 Not Found, which was an issue for any
review requests or reviews they had created (as the link included would
not work). Now we return a user from the /api/users/<username>/ API
regardless of whether or not they are active. However, we still filter
out users from the /api/users/ API unless include-inactive=1 is
provided as a GET parameter to the request.

Ran unit tests.

  • 0
  • 0
  • 6
  • 0
  • 6
Description From Last Updated
Review Bot
Christian Hammond
Barret Rennie
Review Bot
David Trowbridge
Barret Rennie
Review Bot
David Trowbridge
David Trowbridge
Barret Rennie
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (9bed605)
Loading...