keystonemiddleware/releasenotes/notes/bug-1583702-a4469dc1556878b9.yaml
guang-yee 8859345f3b use local config options if available in audit middleware
Some services such as Swift does not use Oslo (global) config. In that
case, make sure we can pass the options via local config instead. This is
consistent with how auth_token middleware handle global and local
config options.

Change-Id: Ica7f1a4de2676549b2b65cca0181f2a911156ee6
Closes-Bug: 1583702
2016-06-24 13:47:16 +00:00

9 lines
390 B
YAML

---
fixes:
- >
[`bug 1583702 <https://bugs.launchpad.net/keystonemiddleware/+bug/1583702>`_]
Some services such as Swift does not use Oslo (global) config. In that
case, the options are conveyed via local config. This patch utilized
an established pattern in auth_token middleware, which is to first
look for the given option in local config, then Oslo global config.