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

Entitlements cleanup #121197

Closed
wants to merge 6 commits into from
Closed

Entitlements cleanup #121197

wants to merge 6 commits into from

Conversation

prdoyle
Copy link
Contributor

@prdoyle prdoyle commented Jan 29, 2025

A few preparatory changes in advance of fixing up error reporting.

Reviewers

Review commit-by-commit. Commit messages contain some additional rationales.

This serves as a good example of how Path and File handling could be
specialized in the future, but as long as they are identical, the duplication
causes more harm than good.
The original motivation was to avoid allocating a lambda object on each call,
but since that's a highly optimized operation in the JVM, it's unlikely to make
a difference in practice, and this smacks of premature optimization.

We're pretty liberal about lambdas elsewhere, so let's not sweat it here until
we have some evidence that it matters.
@prdoyle prdoyle added >non-issue :Core/Infra/Core Core issues without another label auto-backport Automatically create backport pull requests when merged v9.0.0 v8.18.0 test-entitlements Trigger CI checks using security manager replacement labels Jan 29, 2025
@prdoyle prdoyle self-assigned this Jan 29, 2025
@prdoyle prdoyle requested a review from a team as a code owner January 29, 2025 15:14
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@prdoyle prdoyle marked this pull request as draft January 31, 2025 15:17
@prdoyle
Copy link
Contributor Author

prdoyle commented Feb 3, 2025

The three Refactor commits were merged in #121204. The PolicyManager fix is in #121456. Dead code removal in #121409.

The FileAccessTree fix is upcoming.

@prdoyle
Copy link
Contributor Author

prdoyle commented Feb 4, 2025

The final part is in #121598.

@prdoyle prdoyle closed this Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team test-entitlements Trigger CI checks using security manager replacement v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants