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

ElasticCommitter - Restrict operation based on action verb (add, update, delete) #1070

Open
stejacob opened this issue Oct 17, 2024 · 0 comments

Comments

@stejacob
Copy link

stejacob commented Oct 17, 2024

Hi,

We would like to restrict specific actions for Elastic committers based on the type of operation (add, update, or delete).

We have three committers, and we're aiming to implement the following restrictions:

  1. One committer should be restricted to only handle English documents based on language field containing value en.
  2. Another committer should be restricted to handle only French documents based on language field containing value fr.
  3. The third committer should be restricted to perform delete operations only.

However, we're unsure if this can be achieved with the current configuration. At the moment, using the restrictTo option based on a field causes delete commands to be rejected, as the field doesn't exist in the document being deleted.

If this is not yet supported, would it be possible to open an enhancement request?

Any guidance on how to achieve this setup would be greatly appreciated.

Thank you.

Stephen Jacob

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