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] Add user name into threadContext header #2432

Closed
Hailong-am opened this issue Feb 9, 2023 · 1 comment
Closed

[FEATURE] Add user name into threadContext header #2432

Hailong-am opened this issue Feb 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Hailong-am
Copy link
Contributor

Is your feature request related to a problem?
There has some long running operations like reindex, split, shrink etc in OpenSearch, we plan to add notification feature when those long running operation complete. For the notification, it's better to have operator info included as well.

What solution would you like?
we want to store operator name into task when it was registered in TransportAction, TaskManager. As core has the logic in place of reading all headers from thread context headers and put it into task, what we need to do is just put the user name into thread context header.

What alternatives have you considered?

  • User object has already stored in threadContext, we could pull it from there and put into task. that need to introduce a user concept into core and that only available in plugin only.

Do you have any additional context?
More details about notification could be found in opensearch-project/OpenSearch#5479

@Hailong-am Hailong-am added enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized labels Feb 9, 2023
@stephen-crawford
Copy link
Contributor

[Triage] Hi @Hailong-am, thank you for taking the time to file this issue. Currently, the Security Plugin has no plans to implement the features you are requesting. However, the new Identity project may be able to incorporate the features you are requesting. You can find more information here.

@stephen-crawford stephen-crawford removed the untriaged Require the attention of the repository maintainers and may need to be prioritized label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants