Merge "Add is_admin to safe fields list for notifications"

This commit is contained in:
Zuul 2023-09-26 09:37:17 +00:00 committed by Gerrit Code Review
commit 3c8dd7d290

@ -180,6 +180,10 @@ def _sanitize_context(ctxt):
'domain_id',
'user_domain_id',
'project_domain_id',
# NOTE(JayF): Without is_admin; heat will make a roundtrip to policy
# to try to set it to a sane value when instantiating the
# replacement context. Instead, just pass it on.
'is_admin',
'request_id',
'roles',
'user_name',