-
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.5 #58139
Comments
Pinging @elastic/kibana-security (Team:Security) |
Note: a large portion of this issue will require changes to the Saved Object Management screen, which is currently in the legacy platform and is being moved into a separate plugin in #50308. |
@jportner @legrego An attempt to summarise our recent discussions around copying saved objects in view of the introduction of the ability to share follows (mainly the problem space, the alternatives and the user/UX considerations that we have discussed):
If this is a fairly accurate summary, we will need to put that extra effort required to introduce true copies sooner or later, hence does option 6b above feels attractive, despite the cost? |
Well put! I agree. Just wanted to note that this does not mention imports, which effectively behave the same way today. I assume your intent is to make the same changes to imports, yes? |
Correct! |
Phase 1.5 from #27004.
Overview
This will support import/export for "shareable" types without references. It will also support existing operations in the Saved Objects Management Screen (server side and client side) and add a UI for sharing a saved object to other space(s).
Client-side changes
All changes are in the Saved Objects Management screen.
Update delete confirmation modal: add "This/these is/are shared in X spaces" banner, change "Delete" button to "Remove from space" (primary) and "Delete everywhere" (secondary)(deferred until Phase 3)Server-side changes
export
for multi-namespace types: stripnamespaces
import
for multi-namespace types: regenerate IDscopy_to_space
for multi-namespace types: ??? (should be no changes required, as this relies onexport
andimport
)Newedit: don't need this after all, the current multi-delete functionality in the Saved Objects Management screen uses separatebulkRemoveNamespaces
operation for SavedObjectsClientdelete
operations for each saved object, we will just use separateremoveNamespaces
operations for each multi-namespace saved object instead.Other
The text was updated successfully, but these errors were encountered: