policies: add binding to policy_execution context

This commit is contained in:
Jens Langhammer 2021-01-05 11:51:05 +01:00
parent 0eab4489c5
commit 9fb5ce2a1a
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class PolicyProcess(Process):
event = Event.new( event = Event.new(
EventAction.POLICY_EXECUTION, EventAction.POLICY_EXECUTION,
request=self.request, request=self.request,
binding=self.binding,
result=policy_result, result=policy_result,
) )
event.set_user(self.request.user) event.set_user(self.request.user)