Skip to content

Conversation

@jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Feb 5, 2025

Backports the following commits to 8.x:

…elastic#121706)

This updates the PolicyParser to allow static methods to have an ExternalEntitlement annotation. This 
removes a limitation where constructors cannot properly support type-erasure with different types of 
data structures for internal entitlement generation and external entitlement generation (for example 
List<Object> from the parser and List<SomeData> from an internal builder). We continue to enforce 
that only one constructor/method may be annotated with ExternalEntitlement per Entitlement class.
@jdconrad jdconrad added :Core/Infra/Core Core issues without another label >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team test-entitlements labels Feb 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit 1d275ab into elastic:8.x Feb 5, 2025
15 checks passed
@jdconrad jdconrad deleted the backport/8.x/pr-121706 branch February 5, 2025 18:07
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 >refactoring Team:Core/Infra Meta label for core/infra team v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants