summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-14 18:09:28 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-14 18:11:09 +0800
commit31a51dfce1e0b5cfb936d44c918a6ee86f4685c5 (patch)
tree05493c2199f134d48c4b13df04db5a8933bc6eea /testapi/opnfv_testapi
parent29b0c572ba4609df208b7e716a42335a32f686d9 (diff)
authenticate comes before exist check
Change-Id: I935f4bb6e779a07596ab2394ef129025c2ae9b78 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi')
-rw-r--r--testapi/opnfv_testapi/handlers/base_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/handlers/base_handlers.py b/testapi/opnfv_testapi/handlers/base_handlers.py
index 350c38d..3dbd53a 100644
--- a/testapi/opnfv_testapi/handlers/base_handlers.py
+++ b/testapi/opnfv_testapi/handlers/base_handlers.py
@@ -79,8 +79,8 @@ class GenericApiHandler(web.RequestHandler):
@check.valid_token
@check.no_body
@check.miss_fields
- @check.new_not_exists
@check.is_authorized
+ @check.new_not_exists
@check.values_check
@check.carriers_exist
def _create(self, **kwargs):