/** * Checks if the requester has permission to perform this * route on this model (if the model implements an ACL). * * @return bool */ public function hasPermission() { if (!$this->model instanceof ACLModel) { return true; } return $this->model->can(static::MODEL_PERMISSION, $this->app['requester']); }