From 349609818abcf10cc94088b043f71b5c8bc504a1 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 5 Jan 2018 14:39:12 +0800 Subject: Design the scenario create method design scenario create method in modal way. design scenario page. Add,delete for installers,versions, projects, customs, trust indicators and scores are implemented. tests are not included. validations are not added. Change-Id: I999229c00869fcd5a4efa97cb2679a08fc24b271 Signed-off-by: thuva4 --- testapi/opnfv_testapi/common/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapi/opnfv_testapi/common/check.py') diff --git a/testapi/opnfv_testapi/common/check.py b/testapi/opnfv_testapi/common/check.py index 333871d..9b3ab01 100644 --- a/testapi/opnfv_testapi/common/check.py +++ b/testapi/opnfv_testapi/common/check.py @@ -21,7 +21,7 @@ from opnfv_testapi.db import api as dbapi def is_authorized(method): @functools.wraps(method) def wrapper(self, *args, **kwargs): - if CONF.api_authenticate and self.table in ['pods', 'projects', 'testcases']: + if CONF.api_authenticate and self.table in ['pods', 'projects', 'testcases', 'scenarios']: testapi_id = self.get_secure_cookie(constants.TESTAPI_ID) if not testapi_id: raises.Unauthorized(message.not_login()) -- cgit 1.2.3-korg