The `check_permission` method has changed from:
{{{
check_permission(username, action, resource)
}}}
to:
{{{
check_permission(action, perm)
}}}
with `perm` being the usual `PermissionCache` on which permissions checks can be made (`'...' in perm`).
As noted in the vulnerability_tickets.py plugin, some care should be taken to avoid recursion, though.