SolrDocumentList orginalSolrDocs = getSolrDocs(collectionName, ALL_DOCS, true);
setAuthenticationUser(solrUserName);
CloudSolrServer cloudSolrServer = getCloudSolrServer(collectionName);
try {
cloudSolrServer.add(solrInputDoc);
cloudSolrServer.commit();
fail("The specified user: " + solrUserName + " shouldn't get update access!");
} catch (Exception exception) {
assertTrue("Expected " + SENTRY_ERROR_MSG + " in " + exception.toString(),
exception.toString().contains(SENTRY_ERROR_MSG));
} finally {