Skip to content

Conversation

@ldematte
Copy link
Contributor

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846

@ldematte ldematte added >non-issue auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 :Core/Infra/Entitlements Entitlements infrastructure labels Mar 20, 2025
@ldematte ldematte requested a review from a team as a code owner March 20, 2025 11:05
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Mar 20, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

*/
public class PluginSecurity {

public static final String ENTITLEMENTS_DESCRIPTION_URL =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is duplicated in #125207, but should be easy to merge later

@ldematte ldematte changed the title [Entitlements] Add warning if a legacy policy file is found [Entitlements] Print a warning during plugin installation if a legacy policy file is found Mar 20, 2025
@ldematte ldematte requested a review from rjernst March 20, 2025 16:07
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldematte ldematte merged commit e0b7c8b into elastic:main Mar 24, 2025
17 checks passed
@ldematte ldematte deleted the entitlements/plugin-installation-legacy-policy-warning branch March 24, 2025 07:29
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Mar 24, 2025
… policy file is found (elastic#125294)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x
9.0

ldematte added a commit to ldematte/elasticsearch that referenced this pull request Mar 24, 2025
… policy file is found (elastic#125294)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Mar 24, 2025
… policy file is found (elastic#125294)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
elasticsearchmachine pushed a commit that referenced this pull request Mar 24, 2025
… policy file is found (#125294) (#125475)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
elasticsearchmachine pushed a commit that referenced this pull request Mar 24, 2025
… policy file is found (#125294) (#125473)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
elasticsearchmachine pushed a commit that referenced this pull request Mar 24, 2025
… policy file is found (#125294) (#125474)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
… policy file is found (elastic#125294)

This PR adds a check and a warning message if the user is trying to install a plugin containing the legacy plugin-security.policy used by SecurityManager.

Relates to ES-10846
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Core/Infra/Entitlements Entitlements infrastructure >non-issue Team:Core/Infra Meta label for core/infra team v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants