bcc307ae5b
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 |
||
---|---|---|
.. | ||
controllers | ||
__init__.py | ||
app.py | ||
opts.py | ||
wsgi.py |