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
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?
The text was updated successfully, but these errors were encountered:
This would be a good change. I think this would be a good improvement to the system that reduces the level of complexity in grokking how security works in opensearch.
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?
The text was updated successfully, but these errors were encountered: