diff options
author | 2017-07-07 15:06:29 +0800 | |
---|---|---|
committer | 2017-07-20 09:51:50 +0800 | |
commit | 20826c00015567244153ab2e7b39452600fd38c7 (patch) | |
tree | 8ea100263f358b5b00f4e69e43f2164e38023f4d /utils/test/testapi/opnfv_testapi/ui/auth/constants.py | |
parent | 5b77ae789540f805199831427930476c9579916b (diff) |
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>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/auth/constants.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/ui/auth/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/auth/constants.py b/utils/test/testapi/opnfv_testapi/ui/auth/constants.py index 43f69d7f5..44ccb46d7 100644 --- a/utils/test/testapi/opnfv_testapi/ui/auth/constants.py +++ b/utils/test/testapi/opnfv_testapi/ui/auth/constants.py @@ -1,4 +1,6 @@ OPENID = 'openid' +ROLE = 'role' +DEFAULT_ROLE = 'user' # OpenID parameters OPENID_MODE = 'openid.mode' |