tricircle/tricircle/api/controllers
zhangxiaohan bcc307ae5b The admin role judge exception caused the policy to fail
1. What is the problem?

Caused the policy to fail When use 'admin' role to create pod,
Error response is "Unauthorized to create pods".

2. What is the solution to the problem?
In context, the 'HTTP_X_ROLE' maybe include mutilple role, so use
'admin' in environ.get('HTTP_X_ROLE') to judge rather than equality.

Change-Id: If0a765603e56e0325a31f7a3e0202f52fd1cbe38
2018-08-21 11:44:12 +08:00
..
__init__.py Fix incorrect file permission 2016-05-24 16:04:16 +08:00
job.py Fix bugs in tricircle Admin API 2017-08-17 15:24:12 +08:00
pod.py Optimizing some logic in the code when creating pod 2017-05-18 09:45:32 +00:00
root.py The admin role judge exception caused the policy to fail 2018-08-21 11:44:12 +08:00
routing.py Fix bugs in tricircle Admin API 2017-08-17 15:24:12 +08:00