account->hasFeature(FEATURE_DOCUMENTS)) return true; else return $this->user()->can('view', $this->entity()); } }