Skip to content

Conversation

@jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Feb 5, 2025

Backports the following commits to 9.0:

…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 cefacb6 into elastic:9.0 Feb 5, 2025
21 checks passed
@jdconrad jdconrad deleted the backport/9.0/pr-121706 branch February 5, 2025 18:09
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 v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants