Skip to content

Commit b9a2c81

Browse files
committed
Fix resolving restricted indices after merging
1 parent d98a77a commit b9a2c81

File tree

1 file changed

+0
-5
lines changed
  • x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz

1 file changed

+0
-5
lines changed

x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/RBACEngine.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,6 @@ static List<String> resolveAuthorizedIndicesFromRole(Role role, String action, M
304304
indicesAndAliases.add(aliasOrIndex);
305305
}
306306
}
307-
308-
if (Arrays.asList(role.names()).contains(ReservedRolesStore.SUPERUSER_ROLE_DESCRIPTOR.getName()) == false) {
309-
// we should filter out all of the security indices from wildcards
310-
indicesAndAliases.removeAll(SecurityIndexManager.indexNames());
311-
}
312307
return Collections.unmodifiableList(indicesAndAliases);
313308
}
314309

0 commit comments

Comments
 (0)