New feature : beforeHasPermission Plugin events