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

[8.18][Entitlements] Uniform server and plugins policy patching (#125011) #125087

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.18.1 :Core/Infra/Entitlements Entitlements infrastructure labels Mar 18, 2025
@elasticsearchmachine elasticsearchmachine merged commit 98607b1 into elastic:8.18 Mar 18, 2025
15 checks passed
@ldematte ldematte deleted the backport/8.18/entitlements/policy-override-plugins-2 branch March 18, 2025 12:36
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.18.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants