diff --git a/src/main/java/org/opensearch/security/privileges/TermsAggregationEvaluator.java b/src/main/java/org/opensearch/security/privileges/TermsAggregationEvaluator.java index d06a45726a..f15ca0ebf9 100644 --- a/src/main/java/org/opensearch/security/privileges/TermsAggregationEvaluator.java +++ b/src/main/java/org/opensearch/security/privileges/TermsAggregationEvaluator.java @@ -53,9 +53,7 @@ public class TermsAggregationEvaluator { "indices:data/read/mget", "indices:data/read/get", "indices:data/read/search", - "indices:data/read/field_caps*" - // "indices:admin/mappings/fields/get*" - }; + "indices:data/read/field_caps" }; private static final QueryBuilder NONE_QUERY = new MatchNoneQueryBuilder();