Serialize a link to the logged in user in the root resource

Review Request #9017 — Created June 15, 2017 and discarded

brennie
Review Board
release-3.0.x
reviewboard

If Review Board is to support OAuth2 applications, we will need a way to
indicate to API consumers the currently logged in user. Currently, there
is no way to determine the currently logged in user. Now the root
resource will serialize a link to the user resource for the
currently-logged in user so that API clients can retrieve user details
to use for identifying users and retrieving user details. This will
enable services to "Log In with Review Board" and populate their
database with user information, such as RB username, user full name,
e-mail, etc.

Manually tested the API.
Ran unit tests.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

brennie
brennie
Review request changed

Status: Discarded

Loading...