oslo.messaging/oslo_messaging
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
..
_drivers Increase ACK_REQUEUE_EVERY_SECONDS_MAX to exceed default kombu_reconnect_delay 2023-06-01 14:24:51 +00:00
_metrics Add Support For oslo.metrics 2021-06-08 22:22:37 +08:00
hacking Remove six usage 2020-05-11 10:21:58 +02:00
notify Add is_admin to safe fields list for notifications 2023-09-30 16:26:37 +00:00
rpc Add Support For oslo.metrics 2021-06-08 22:22:37 +08:00
tests Only allow safe context fields in notifications 2023-08-28 14:57:45 +00:00
__init__.py Remove deprecated localcontext 2016-05-18 09:28:15 +02:00
_utils.py Remove the deprecated blocking executor 2020-02-18 15:49:27 +01:00
conffixture.py Add Support For oslo.metrics 2021-06-08 22:22:37 +08:00
dispatcher.py Remove six usage 2020-05-11 10:21:58 +02:00
exceptions.py Remove six usage 2020-05-11 10:21:58 +02:00
opts.py Add a ping endpoint to RPC dispatcher 2020-08-18 15:09:29 +02:00
serializer.py Remove six usage 2020-05-11 10:21:58 +02:00
server.py Remove six usage 2020-05-11 10:21:58 +02:00
target.py Fixups to the inline documentation 2016-09-12 09:49:00 -04:00
transport.py Remove six usage 2020-05-11 10:21:58 +02:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00