-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Phase 2 support for operator privileges: Cluster settings #66684
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
ywangd
merged 21 commits into
elastic:master
from
ywangd:operator-privileges-phase-two-settings
Feb 4, 2021
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6b8d317
wip
ywangd 6b104bd
Skip operator settings in restore when user is not operator
ywangd 5f18f66
tweak
ywangd e0a20b7
Merge remote-tracking branch 'origin/master' into operator-privileges…
ywangd 50f63df
Merge remote-tracking branch 'origin/master' into operator-privileges…
ywangd 2933b68
Add ml settings for operator only
ywangd f1ffe0c
Merge remote-tracking branch 'origin/master' into operator-privileges…
ywangd 0f225e0
Update according to discussion email
ywangd 57f518c
tweak
ywangd 924d505
Merge remote-tracking branch 'origin/master' into operator-privileges…
ywangd 8050479
add tests
ywangd 2b9aea9
forbidden api fix
ywangd 8c79807
Update server/src/main/java/org/elasticsearch/action/admin/cluster/sn…
ywangd 2b9b6aa
Merge branch 'master' into operator-privileges-phase-two-settings
elasticmachine 0a6ca70
Address feedback
ywangd 45b6e4d
fix names
ywangd d51630f
more names
ywangd cb8e8a2
address more feedback
ywangd 6d5ad52
more feedback
ywangd c9406af
fix test
ywangd 67840a9
add teardown
ywangd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I wonder if it was nicer to verify that
toXContentgives same result regardless of theskipOperatorOnlyflag? I.e., invoke it on two instances with differentskipOperatorOnlyflag and verify the maps are identical.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.
Added