-
Notifications
You must be signed in to change notification settings - Fork 357
Description
Coming from conversation on opensearch-project/OpenSearch#17650
When a user is mapped to a role that has full access to a subset of indices in a cluster then by default _cat/indices will fail with a Forbidden error instead of returning the indices that are visible to the user. As a workaround, we instruct cluster administrators to consider toggling do_not_fail_on_forbidden to true.
With this issue, I propose changing the default behavior (at least for _cat/indices) to always return the indices visible to the user regardless if a cluster has DNFOF set to true.
I believe this is possible by updating this line to return true if the action is indices:monitor/settings/get
What do the maintainers think of this change in default behavior for 3.0.0 release?