public function view(UserPolicy $user, Portfolio $portfolio)
    {
        if ($user->canDo('portfolio.portfolio.view') && $user->isAdmin()) {
            return true;
        }

        return $portfolio->user_id == user_id() && $portfolio->user_type == user_type();
    }