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

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

Information

Review Board
release-3.0.x

Reviewers

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.

Description From Last Updated

E501 line too long (83 > 79 characters)

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

brennie
brennie
Review request changed

Status: Discarded

Loading...