Skip to content

Conversation

@ldematte
Copy link
Contributor

Backport of #125011

…5011)

With elastic#124904 we introduced server policy patching via system properties; now that we have the possibility to merge policies and scopes, it's worth applying the same mechanism to plugin policies too.

This PR changes the behaviour of plugin policy overrides; now they are not replacing the policy entirely, but patch it by adding the entitlements and scopes specified in the "patch policy"
@ldematte ldematte added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.19.0 :Core/Infra/Entitlements Entitlements infrastructure labels Mar 18, 2025
@elasticsearchmachine elasticsearchmachine merged commit 4338981 into elastic:8.x Mar 18, 2025
15 checks passed
@ldematte ldematte deleted the backport/8.x/entitlements/policy-override-plugins-2 branch March 18, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Entitlements Entitlements infrastructure v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants