summaryrefslogtreecommitdiffstats
path: root/docs/source
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2013-06-13 17:45:20 -0500
committerBrant Knudson <bknudson@us.ibm.com>2013-07-03 16:19:00 -0500
commit19fb6fc37760c3983ac9bfdd0bdeda48654533ab (patch)
treef5d591568cf7205a03559cd53d9335e69bc2a3dc /docs/source
parent62d948a66b27ad2622a324bd9a070346f7b607d2 (diff)
Work without admin_token_auth middleware
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
Diffstat (limited to 'docs/source')
0 files changed, 0 insertions, 0 deletions