Translations:Manual:Hooks/getUserPermissionsErrors/10/en

Both hooks are typically run when checking for proper permissions in $1.