role based access control and result upload
authorgrakiss <grakiss.wanglei@huawei.com>
Fri, 7 Jul 2017 07:06:29 +0000 (15:06 +0800)
committergrakiss <grakiss.wanglei@huawei.com>
Thu, 20 Jul 2017 01:51:50 +0000 (09:51 +0800)
commitcf402a2a6888ade5c57165dc978a59d2330307a7
tree64031db8f9b231867ab2466679b23eb6ade79b37
parent0c684cf169699a48570cb96c565d40007d4f006f
role based access control and result upload

1. add role for user
2. user can upload test results

Change-Id: I1c5370be7818edb0394f05e8b81f975deb98b286
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
14 files changed:
testapi/3rd_party/static/testapi-ui/components/results/results.html
testapi/3rd_party/static/testapi-ui/components/results/resultsController.js
testapi/3rd_party/static/testapi-ui/shared/header/header.html
testapi/etc/config.ini
testapi/opnfv_testapi/common/message.py
testapi/opnfv_testapi/resources/result_handlers.py
testapi/opnfv_testapi/resources/result_models.py
testapi/opnfv_testapi/router/url_mappings.py
testapi/opnfv_testapi/tests/unit/executor.py
testapi/opnfv_testapi/tests/unit/fake_pymongo.py
testapi/opnfv_testapi/tests/unit/resources/test_result.py
testapi/opnfv_testapi/ui/auth/constants.py
testapi/opnfv_testapi/ui/auth/sign.py
testapi/opnfv_testapi/ui/auth/user.py