Manual:Hooks/PermissionErrorAudit

Details
Cannot be aborted.
 * Page in question
 * User to check
 * Action being checked
 * One of PermissionManager::RIGOR_ constants
 * Array of arrays of the arguments to wfMessage to explain permissions problems.