You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReader.java
+21-8Lines changed: 21 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@
54
54
importjava.util.List;
55
55
importjava.util.Map;
56
56
importjava.util.Optional;
57
+
importjava.util.function.Function;
57
58
58
59
/**
59
60
* A {@link FilterLeafReader} that exposes only a subset
@@ -68,36 +69,42 @@ public final class FieldSubsetReader extends SequentialStoredFieldsLeafReader {
68
69
* Note that for convenience, the returned reader
69
70
* can be used normally (e.g. passed to {@link DirectoryReader#openIfChanged(DirectoryReader)})
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexReaderWrapper.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,9 @@ public DirectoryReader apply(final DirectoryReader reader) {
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissions.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@
32
32
importjava.util.List;
33
33
importjava.util.Objects;
34
34
importjava.util.Set;
35
+
importjava.util.function.Function;
35
36
importjava.util.stream.Collectors;
36
37
37
38
/**
@@ -243,11 +244,11 @@ public boolean hasFieldLevelSecurity() {
243
244
}
244
245
245
246
/** Return a wrapped reader that only exposes allowed fields. */
0 commit comments