Skip to content

Commit 61ae8ac

Browse files
committed
merge
1 parent 39ff7a7 commit 61ae8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ && isIndexVisible(
105105
resolveSelectorsAndCombine(indexAbstraction, selectorString, indicesOptions, resolvedIndices, metadata);
106106
if (minus) {
107107
finalIndices.removeAll(resolvedIndices);
108-
// TODO problem here is that we say the index is "authorized" but it actually isn't, due to the selector
108+
// TODO if selector is *, we need to run two authz checks, one for data and one for failures
109109
} else if (indicesOptions.ignoreUnavailable() == false || isAuthorized.test(indexAbstraction, selectorString)) {
110110
// Unauthorized names are considered unavailable, so if `ignoreUnavailable` is `true` they should be silently
111111
// discarded from the `finalIndices` list. Other "ways of unavailable" must be handled by the action

0 commit comments

Comments
 (0)