class IsAuthenticated(BasePermission):
    """
    Allows the view access to authenticated users only.
    """