Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: configuration for opt-out of cluster:manage privileges #180

Open
jonascarlbaum opened this issue Nov 21, 2022 · 0 comments

Comments

@jonascarlbaum
Copy link
Contributor

jonascarlbaum commented Nov 21, 2022

In my understanding the Epinova.ElasticSearch.Core.Admin.Index.EnableClosing method will throw an exception if user not having cluster:manage privileges.

Could cluster:manage privileges be configured, as opt-out, so this code won't run and throw an exception in initialization?

I mean, if the user has the cluster:monitor privileges, and the cluster is already configured with closing enabled, this code would not be necessary to run? All other cluster-methods seems to work with cluster:monitor privileges. Then I guess an opt-out would be good here? This is the only place where cluster:manage privileges is used, right?

We will be running our indices in a cluster among other indices, and therefore have demands/requests of our user not being granted with too much privileges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant