oslo.messaging/oslo_messaging/notify
Jay Faulkner d1c52bab52 Add is_admin to safe fields list for notifications
We encountered bug 2037312 in unit tests when attempting to get this
change rolled out. Heat apparently will attempt to set is_admin using
policy logic if it's not passed in for a new context; this breaks as the
context we are requested doesn't have all the needed information to
exercise the policy logic.

is_admin is just a bool; it's not sensitive; easiest route forward is to
add it to the safe list

Closes-bug: 2037312
Change-Id: I78b08edfcb8115cddd7de9c6c788c0a57c8218a8
(cherry picked from commit c1b606f77e)
(cherry picked from commit 29623702fc)
(cherry picked from commit ee0bf90b68)
(cherry picked from commit 45a0141468)
(cherry picked from commit 047da4e5ed)
2023-09-30 16:26:37 +00:00
..
__init__.py batch notification listener 2015-12-08 09:14:20 +01:00
_impl_log.py Revert "Ensure the json result type is bytes on Python 3" 2016-03-11 09:00:08 +00:00
_impl_noop.py Allow custom notification drivers 2015-09-25 10:07:05 -04:00
_impl_routing.py Remove the oslo_utils.fnmatch 2021-05-11 01:02:11 +00:00
_impl_test.py Allow custom notification drivers 2015-09-25 10:07:05 -04:00
dispatcher.py Remove six usage 2020-05-11 10:21:58 +02:00
filter.py Remove six usage 2020-05-11 10:21:58 +02:00
listener.py Update hacking for Python3 2020-03-30 13:49:29 +00:00
log_handler.py Option group for notifications 2015-11-30 19:30:05 +00:00
logger.py drop topic keyword from Notifier 2017-02-27 14:13:11 +00:00
messaging.py [rabbit] use retry parameters during notification sending 2022-01-13 09:52:28 +01:00
middleware.py Remove log translation and i18n 2019-04-24 11:55:38 +02:00
notifier.py Add is_admin to safe fields list for notifications 2023-09-30 16:26:37 +00:00