Skip to content

Commit

Permalink
Closes #2399: Index permissions object for root dataverse (#2411)
Browse files Browse the repository at this point in the history
  • Loading branch information
madryk authored Jan 11, 2024
1 parent d74f4d0 commit 992fec9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ public IndexResponse indexPermissionsForOneDvObject(DvObject dvObject) {
if (dvObject == null) {
return new IndexResponse("problem indexing... null DvObject passed in");
}
if (dvObject.isInstanceofDataverse() && ((Dataverse)dvObject).isRoot()) {
return new IndexResponse("DvObject is root Dataverse. Skipping.");
}

List<PermissionsSolrDoc> definitionPoints = solrDocFactory.determinePermissionsDocsOnSelfOnly(dvObject);

try {
Expand Down

0 comments on commit 992fec9

Please sign in to comment.