check() && $user->id === $account->user_id; } /** * Everybody can do this, but selection should limit to user. * * @return true */ public function viewAny(): bool { Log::debug(__METHOD__); return auth()->check(); } /** * Everybody can do this, but selection should limit to user. * * @return true */ public function viewUser(User $user, Account $account): bool { return $this->view($user, $account); } public function viewAccountBalances(User $user, Account $account): bool { return $this->view($user, $account); } }