leverage token_check only when posting results
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 7 Sep 2017 08:18:56 +0000 (16:18 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 12 Sep 2017 02:08:13 +0000 (10:08 +0800)
commit28d5b3d14a6354ec170ebaea7f0f6ba342375b61
tree16e26603cb920bcc1ed66c180cc5b198cdd2c44e
parent0a249a4a8047db77ea9a2eb44c847bf45c4b23cf
leverage token_check only when posting results

In this patch begin to consider the LFID authentication,
token check only effects results, the permission of other
resources(pods/projects...) will be checked by LFID.

Change-Id: I20f6f221e3bd75ebf06dcd91012898b913f1d0be
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/common/check.py
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/tests/unit/resources/test_token.py