hasPermission('settings.view'); } public function update(User $user) { return $user->hasPermission('settings.update'); } }