fixed the permissions event of 0.4 to include the object. For bc pass it as a new parameter to avoid breaking existing uses of this event
0.4.229