OpenSearch/elasticsearch/src
javanna 3dbea2f4c2 Simplify FieldAndDocumentLevelSecurityRequestInterceptor
FieldAndDocumentLevelSecurityRequestInterceptor really support intercepting only subclasses of IndicesRequests, we shouldn't have logic that is never used around intercepting CompositeIndicesRequest. Also we can guarantee at compile time, using generics, that only supported subclasses are intercepted through it, no need to verify that at runtime.

Original commit: elastic/x-pack-elasticsearch@6ab6e2d50e
2016-10-13 16:05:02 +02:00
..
main Simplify FieldAndDocumentLevelSecurityRequestInterceptor 2016-10-13 16:05:02 +02:00
test Authorize composite actions based on their action name only, subrequests and their indices will be later authorized individually 2016-10-13 16:05:02 +02:00