MediaWiki master
PermissionErrorAuditHook.php
Go to the documentation of this file.
1<?php
3
6
29 public function onPermissionErrorAudit(
30 LinkTarget $title,
31 UserIdentity $user,
32 string $action,
33 string $rigor,
34 array $errors
35 ): void;
36}
Represents the target of a wiki link.
This is a hook handler interface, see docs/Hooks.md Use the hook name "PermissionErrorAudit" to regis...
onPermissionErrorAudit(LinkTarget $title, UserIdentity $user, string $action, string $rigor, array $errors)
This hook is called from PermissionManager::getPermissionStatus() to collect internal permission erro...
Interface for objects representing user identity.