-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Entitlements] Replace Permissions with Entitlements in InstallPluginAction #125207
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
[Entitlements] Replace Permissions with Entitlements in InstallPluginAction #125207
Conversation
distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/cli/PluginSecurity.java
Show resolved
Hide resolved
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
rjernst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, with a few nits.
distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/cli/PluginSecurity.java
Outdated
Show resolved
Hide resolved
| @@ -1,5 +0,0 @@ | |||
| org.elasticsearch.analysis.icu: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated, right? Let's do this in a separate PR. I'm still not sure we should, we could leave this in as we try to re-lock-down the config directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this because this is breaking tests downstream - packaging tests are installing a plugin that has no additional permission so it can happen non-interactively, ant this was the plugin of choice. I can revert this but will need to change more tests downstream, not sure what's better here.
distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/cli/PluginSecurity.java
Outdated
Show resolved
Hide resolved
libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/PolicyUtils.java
Show resolved
Hide resolved
…l-plugin-confirmation
💔 Backport failed
You can use sqren/backport to manually backport by running |
…Action (elastic#125207) This PR replaces the parsing and formatting of SecurityManager policies with the parsing and formatting of Entitlements policy during plugin installation. Relates to ES-10923
…Action (elastic#125207) This PR replaces the parsing and formatting of SecurityManager policies with the parsing and formatting of Entitlements policy during plugin installation. Relates to ES-10923
…Action (elastic#125207) This PR replaces the parsing and formatting of SecurityManager policies with the parsing and formatting of Entitlements policy during plugin installation. Relates to ES-10923
…Action (elastic#125207) This PR replaces the parsing and formatting of SecurityManager policies with the parsing and formatting of Entitlements policy during plugin installation. Relates to ES-10923
This PR replaces the parsing and formatting of SecurityManager policies with the parsing and formatting of Entitlements policy during plugin installation.
Relates to ES-10923