    Status AuthorizationManager::checkAuthForInsert(const std::string& ns) {
        NamespaceString namespaceString(ns);
        if (!checkAuthorization(ns, ActionType::insert)) {
            return Status(ErrorCodes::Unauthorized,
                          mongoutils::str::stream() << "not authorized for insert on " << ns,
                          0);
        }
        return Status::OK();
    }
    Status AuthorizationManager::checkAuthForInsert(const std::string& ns) {
        NamespaceString namespaceString(ns);
        if (!checkAuthorization(ns, ActionType::insert)) {
            return Status(ErrorCodes::Unauthorized,
                          mongoutils::str::stream() << "not authorized for insert on " << ns,
                          0);
        }
        return Status::OK();
    }