Skip to content

Commit f99ae79

Browse files
committed
Rm sout
1 parent f0374b3 commit f99ae79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ public Automaton getIndexMatcherAutomaton() {
938938
}
939939

940940
boolean isTotal() {
941+
// TODO add selector?
941942
return allowRestrictedIndices
942943
&& indexNameMatcher.isTotal()
943944
&& privilege == IndexPrivilege.ALL
@@ -947,6 +948,7 @@ boolean isTotal() {
947948

948949
@Override
949950
public String toString() {
951+
// TODO add selector?
950952
return "Group{"
951953
+ "privilege="
952954
+ privilege

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolverTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,6 @@ public void testBackingIndicesAreNotVisibleWhenNotIncludedByRequestWithoutWildca
24262426
// did not match the requested pattern and the request does not support data streams
24272427
final AuthorizedIndices authorizedIndices = buildAuthorizedIndices(user, GetAliasesAction.NAME, request);
24282428
final Map<String, String> all = authorizedIndices.all().get();
2429-
System.out.println("all: " + all);
24302429
assertThat(all.keySet(), hasItem(dataStreamName));
24312430
assertThat(authorizedIndices.check(dataStreamName), is(true));
24322431
DataStream dataStream = metadata.dataStreams().get(dataStreamName);

0 commit comments

Comments
 (0)