summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorLeehom Li (feli5) <feli5@cisco.com>2018-12-19 15:52:03 +0000
committerLeehom Li (feli5) <feli5@cisco.com>2018-12-24 02:02:17 +0000
commit82707e15a5bce8de2d33b1c865c96844c9770580 (patch)
treeefe4326df9ab3a92059ad2c0728da18e8ae6590b /releasenotes
parentac7c7fba0ab19f1a4941c158aa4c7762da38377d (diff)
downloadkeystonemiddleware-82707e15a5bce8de2d33b1c865c96844c9770580.tar.gz
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>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/bug-1809101-6b5088443d5970ba.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-1809101-6b5088443d5970ba.yaml b/releasenotes/notes/bug-1809101-6b5088443d5970ba.yaml
new file mode 100644
index 0000000..910f4d9
--- /dev/null
+++ b/releasenotes/notes/bug-1809101-6b5088443d5970ba.yaml
@@ -0,0 +1,7 @@
+---
+fixes:
+ - |
+ [`bug 1809101 <https://bugs.launchpad.net/keystonemiddleware/+bug/1809101>`_]
+ Fix req.context of Keystone audit middleware and Glance conflict with each
+ other issue. The audit middleware now stores the admin context to
+ req.environ['audit.context'].