Skip to content

Commit

Permalink
Fix resolving restricted indices after merging
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymode committed Jan 22, 2019
1 parent d98a77a commit b9a2c81
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,6 @@ static List<String> resolveAuthorizedIndicesFromRole(Role role, String action, M
indicesAndAliases.add(aliasOrIndex);
}
}

if (Arrays.asList(role.names()).contains(ReservedRolesStore.SUPERUSER_ROLE_DESCRIPTOR.getName()) == false) {
// we should filter out all of the security indices from wildcards
indicesAndAliases.removeAll(SecurityIndexManager.indexNames());
}
return Collections.unmodifiableList(indicesAndAliases);
}

Expand Down

0 comments on commit b9a2c81

Please sign in to comment.