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

Expose packageInfo to the new platform plugins #45262

Closed
mshustov opened this issue Sep 10, 2019 · 1 comment · Fixed by #48101
Closed

Expose packageInfo to the new platform plugins #45262

mshustov opened this issue Sep 10, 2019 · 1 comment · Fixed by #48101
Assignees
Labels
Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@mshustov
Copy link
Contributor

mshustov commented Sep 10, 2019

Allow NP server-side plugins to access pkg.version (used to prefix API actions that are associated with the Elasticsearch's application privileges, and are used to perform the authorization checks).
we can probably just expose env.packageInfo to plugins on client and server side via PluginInitializerContext, like we do with env.mode.

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform labels Sep 10, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants