Skip to content

Conversation

@prdoyle
Copy link
Contributor

@prdoyle prdoyle commented Jan 30, 2025

Backport #121204 and #121304.

jdconrad and others added 3 commits January 30, 2025 16:45
This adds basic flag entitlement validation when creating PolicyManager. If a module has the same flag 
entitlement as part of it's policy multiple times we will throw an IllegalArgumentException. With this 
validation we can safely assume FileEntitlement is the only one we currently have that allows multiple entitlements in a policy.
* Fix PolicyManagerTests after package move

* Unmute
@prdoyle prdoyle added >non-issue :Core/Infra/Core Core issues without another label backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) test-entitlements v8.19.0 labels Jan 30, 2025
@prdoyle prdoyle self-assigned this Jan 30, 2025
@elasticsearchmachine elasticsearchmachine merged commit 50da471 into elastic:8.x Jan 31, 2025
15 checks passed
@prdoyle prdoyle deleted the backport8.x branch January 31, 2025 14:58
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/Core Core issues without another label >non-issue v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants