Read the audit log and access additional information, such as the JSON "before" and "after" field...
 
virtual bool check_permission(Action a, const ActionParam &ap) const
Check for the permission to perform action a with parameters ap. 
 
A SecurityContext is used to query permission while doing an operation.