Feature : Add new event beforeHasPermission