KQL Search Autocomplete shows fields that user does not have access to #78096
Labels
:DataDiscovery/fix-it-week
Feature:Data Views
Data Views code and UI - index patterns before 8.0
Feature:KQL
KQL
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Kibana version: 7.9.1
Elasticsearch version: 7.9
Describe the bug: I have defined a user role that only has access to a subset of fields from a given index. When that user moves focus into any dashboard's KQL search box, suggestions for ALL fields are presented to the user, even the ones they do not have access to. (The problem here is that we don't want users asking for field permissions for things we want to hide from them).
** Expected Behavior ** Ideally, the list would only suggest fields that the user has access to.
The text was updated successfully, but these errors were encountered: