Merge "Pass initiator to delete user"

This commit is contained in:
Zuul 2024-03-12 17:07:37 +00:00 committed by Gerrit Code Review
commit c5133e5ab8

View File

@ -272,7 +272,8 @@ class UserResource(ks_flask.ResourceBase):
action='identity:delete_user',
build_target=_build_user_target_enforcement
)
PROVIDERS.identity_api.delete_user(user_id)
PROVIDERS.identity_api.delete_user(
user_id, initiator=self.audit_initiator)
return None, http.client.NO_CONTENT