/** * @param Ebook $model * * @return bool */ protected function quickUpdateAllowed($model) { return $model->allowed(user(), 'update'); }