Skip to content

Remove SecurityManager policy classes #127653

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented May 2, 2025

Now that SecurityManager is no longer used, we can remove the Elasticsearch policy classes and helpers.

Now that SecurityManager is no longer used, we can remove the
Elasticsearch policy classes and helpers.
@rjernst rjernst added >refactoring auto-backport Automatically create backport pull requests when merged v8.19.0 v9.1.0 :Core/Infra/Entitlements Entitlements infrastructure labels May 2, 2025
@rjernst rjernst requested a review from a team as a code owner May 2, 2025 17:05
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label May 2, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@@ -88,40 +86,6 @@ public class BootstrapForTesting {
IfConfig.logIfNecessary();
}

static Map<String, URL> getCodebases() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not super familiar but is the "init the priviledged operation" code above still relevant w/o security manager?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove that in a followup, it hits several tests.

@rjernst rjernst merged commit 8047250 into elastic:main May 5, 2025
17 checks passed
@rjernst rjernst deleted the sm/remove_policy_classes branch May 5, 2025 18:43
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.19

rjernst added a commit to rjernst/elasticsearch that referenced this pull request May 5, 2025
Now that SecurityManager is no longer used, we can remove the
Elasticsearch policy classes and helpers.
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/Entitlements Entitlements infrastructure >refactoring Team:Core/Infra Meta label for core/infra team v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants