Expose packageInfo to the new platform plugins #45262
Labels
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
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 viaPluginInitializerContext
, like we do withenv.mode
.The text was updated successfully, but these errors were encountered: