-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Sharing saved-objects phase 1 #54605
Merged
jportner
merged 54 commits into
elastic:master
from
jportner:issue-54043-sharing-saved-objects-phase-1
Apr 10, 2020
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
16ec12f
POC
jportner f7642f4
Fix broken unit tests, add new ones
jportner 17718c4
Use SavedObjectsErrorHelpers for `bulkGet` operation "Not found"
jportner 9465303
Do not allow non-array references in `create` operations
jportner daf685e
Refactor CheckPrivileges unit tests
jportner d49e1bd
Support multi-namespace operations
jportner 9736f8b
Simplify CheckSavedObjectsPrivileges
jportner 5fe2720
Rewrite getQueryParams unit tests
jportner ffd49e5
Update getQueryParams and update unit tests
jportner 5a3fe41
Support encrypted saved objects
jportner f7d5b81
Improve Repository.bulkGet behavior
jportner 4bd2d00
Fix saved_object_api_integration tests
jportner a1944f4
Rename methods for checking saved object types
jportner 7b66aa3
node scripts/check_published_api_changes.js --accept
jportner b0bba09
Fix api_integration tests
jportner 84d8e42
Misc cleanup
jportner da8417b
Change behavior of addNamespaces API for Saved Objects Client
jportner 4a0f757
Add/update spaces_api_integration tests
jportner 4f06602
Merge branch 'master' into pr/jportner/54605
jportner 720acb0
Address first round of PR review feedback
jportner 3a32b9a
Clean up SpacesSavedObjectsClient unit tests
jportner 1508946
Remove validation callback from `addNamespaces` operation
jportner 70a1ef7
Merge branch 'master' into pr/jportner/54605
jportner a5070cf
Change `SavedObjectType` to use `namespaceType`
jportner 9f9effb
Fail gracefully when Elasticsearch query cannot execute a script
jportner 7d70162
Merge branch 'master' into pr/jportner/54605
jportner e60724d
Fix type check failure
jportner 4f12e46
Address second round of PR review feedback
jportner f2980c7
Fix outdated unit test snapshots
jportner cd8791a
Merge branch 'master' into pr/jportner/54605
jportner 92e5ccd
Address third round of PR review feedback
jportner a5e1424
Simplify `addNamespaces` authZ checks
jportner dee4a94
Remove custom Not Found errors
jportner b26aa40
Merge branch 'master' into pr/jportner/54605
jportner fa5f361
Loosen validation for `addNamespaces` and `removeNamespaces`
jportner 8bf57aa
Fix type check error
jportner 4d75956
Address fourth round of PR review feedback
jportner 83d846e
Fix typo in comment
jportner 57df368
Merge branch 'master' into issue-54043-sharing-saved-objects-phase-1
elasticmachine 28b3b1e
Merge branch 'master' into pr/jportner/54605
jportner a832503
Refactor SavedObjectsRepository discriminated unions
jportner 94d31ec
Clean up preflight checks for bulk operations
jportner 418f1cd
Renamed `addNamespaces` and `removeNamespaces` methods
jportner e2f5d65
Address remaining items from fifth round of PR review feedback
jportner c0dd3b0
Fix integration test file names in test suites
jportner 65fac79
Merge branch 'master' into pr/jportner/54605
jportner ec7fc3e
Address sixth round of PR review feedback
jportner dbce4e8
WIP
jportner e3a5416
Address nits on integration tests
jportner 7a8c11b
Merge branch 'master' into pr/jportner/54605
jportner 223ecef
Fix more nits
jportner c26a49d
Merge branch 'master' into issue-54043-sharing-saved-objects-phase-1
elasticmachine d24fa35
Merge branch 'master' into pr/jportner/54605
jportner c4c35c1
Merge branch 'master' into issue-54043-sharing-saved-objects-phase-1
elasticmachine 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 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
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.
Note: the diff below this is messy, but code didn't change, just indentation.