summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/handlers/base_handlers.py
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-01-15 06:18:32 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-15 06:18:32 +0000
commit62fb9a03e047d70bb15c67d2748ffe377273d0b6 (patch)
treebed426f6b582efa9b461db9aed6d345aa6952bce /testapi/opnfv_testapi/handlers/base_handlers.py
parentd379980b8999157a77027207d9cda77f87c67e26 (diff)
parent349609818abcf10cc94088b043f71b5c8bc504a1 (diff)
Merge "Design the scenario create method"
Diffstat (limited to 'testapi/opnfv_testapi/handlers/base_handlers.py')
-rw-r--r--testapi/opnfv_testapi/handlers/base_handlers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/handlers/base_handlers.py b/testapi/opnfv_testapi/handlers/base_handlers.py
index 9eac737..537077d 100644
--- a/testapi/opnfv_testapi/handlers/base_handlers.py
+++ b/testapi/opnfv_testapi/handlers/base_handlers.py
@@ -200,6 +200,7 @@ class GenericApiHandler(web.RequestHandler):
@gen.coroutine
@check.no_body
@check.not_exist
+ @check.is_authorized
@check.updated_one_not_exist
def pure_update(self, data, query=None, **kwargs):
data = self.table_cls.from_dict(data)