public function view(UserPolicy $user, Message $message)
    {
        if ($user->canDo('message.message.view') && $user->hasRole('admin')) {
            return true;
        }

        return $user->id == $message->user_id && get_class($user) == $message->user_type;
    }