keystonemiddleware/keystonemiddleware
Leehom Li (feli5) 47294755ab Make sure audit middleware use own context
Keystone audit middleware requires to iterate req.context as dict,
but Glance requires to access req.context.read_only.
When glance enabled audit, they are conflict with each other.
This patch fix this issue by store audit context in
req.environ['audit.context']

Change-Id: Ib9a62a4cd0b7b9ffb9fa2d6440e8072d45ee0fee
Closes-Bug: #1809101
Signed-off-by: Leehom Li <feli5@cisco.com>
(cherry picked from commit 82707e15a5)
2019-04-29 02:47:24 +00:00
..
_common Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
audit Make sure audit middleware use own context 2019-04-29 02:47:24 +00:00
auth_token Fix KeystoneMiddleware memcachepool abstraction 2018-07-18 11:56:43 -07:00
echo Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
locale Imported Translations from Zanata 2018-05-01 07:09:40 +00:00
tests Make sure audit middleware use own context 2019-04-29 02:47:24 +00:00
__init__.py Moving middleware to new location 2014-06-19 15:50:41 -07:00
ec2_token.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00
exceptions.py Create a Config object 2016-06-10 18:21:56 +00:00
fixture.py Remove use of positional decorator 2017-08-07 13:18:19 -07:00
i18n.py Update URLs in documentation 2017-07-20 16:38:16 +08:00
opts.py Move auth token opts calculation into auth_token 2016-06-13 14:03:23 -03:00
s3_token.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00