Check OAuth token in @webapi_check_local_site

Review Request #9079 — Created July 17, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
b60473b...

Reviewers

This patch updates @webapi_check_local_site to ensure that if the user
is using an OAuth2 access token that it is valid for the current Local
Site.

Web API test mixins classes have been added so that this logic can be
tested for all resources.

Ran unit tests.