-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Cluster state role mapper file settings service #107886
Cluster state role mapper file settings service #107886
Conversation
Hi @albertzaharovits, I've created a changelog YAML for you. |
Pinging @elastic/es-security (Team:Security) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to ReservedRoleMappingAction LGTM.
…er-file-settings-service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@elasticsearchmachine run elasticsearch-ci/part-4-fips |
@elasticsearchmachine test elasticsearch-ci/part-4-fips |
@elasticsearchmachine run elasticsearch-ci/part-4 |
@elasticsearchmachine test elasticsearch-ci/part-4 |
@elasticsearchmachine test this please |
…)" This reverts commit 391136c.
Reverting this, hopefully temporarily, in #108346. It's not that this change is bad, but it's exposing a bug in the file-based settings service that we need to fix first. |
…tic#107886)" (elastic#108346)" This reverts commit 26db243.
Note: Currently, this PR includes the changes from #107410 (which introduces the
ClusterStateRoleMapper
). This is simpler to review after #107410 is merged in.This PR simplifies the
ReservedRoleMappingAction
implementation, which is part of theFileSettingsService
infrastructure, such that it stores the role mappings it parses from thesettings.json
file into the cluster state custom metadata that's used by the newClusterStateRoleMapper
. The native role mappings (stored in the .security index)are left untouched by the
ReservedRoleMappingAction
.