19fb6fc377
Requests would fail with a 500 Internal Server Error if the admin_token_auth middleware was removed from the paste pipeline. The requests would fail because the code assumed that the context contained an 'is_admin' element, but that element was only in the context if the admin_token_auth middleware was in the pipeline. This change makes it so that if the admin_token_auth middleware isn't in the paste pipeline requests will not fail with a 500 Internal Server Error. Change-Id: Ic064785226ee70ee475d8f72fea3c2ae6971a07f Fixes: bug 1190708
31 lines
359 B
Plaintext
31 lines
359 B
Plaintext
*.pyc
|
|
*.swp
|
|
vendor
|
|
.ksl-venv
|
|
.venv
|
|
.update-venv/
|
|
.tox
|
|
keystone.egg-info/
|
|
*.log
|
|
.coverage
|
|
coverage.xml
|
|
cover/*
|
|
covhtml
|
|
pep8.txt
|
|
nosetests.xml
|
|
*.db
|
|
doc/build
|
|
.DS_Store
|
|
doc/source/modules.rst
|
|
doc/source/keystone.*
|
|
ChangeLog
|
|
AUTHORS
|
|
build/
|
|
dist/
|
|
etc/keystone.conf
|
|
etc/logging.conf
|
|
tests/test.db.pristine
|
|
tests/no_admin_token_auth-paste.ini
|
|
.project
|
|
.pydevproject
|