-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Deleting shared saved objects #81605
Comments
Pinging @elastic/kibana-security (Team:Security) |
Here's the mockup we had for deleting index patterns: We could do something similar here, but I think we'd need to change the messaging a bit because this modal is also used when deleting multiple saved objects. So maybe we could make the same changes to the buttons, but add a callout with text that looks something like this: Singular
Plural
Notes:
|
One important thing has changed since we first made this issue -- we changed the The old mockup above shows two buttons: "Delete everywhere" and "Remove from space". We won't be able to do the latter if the Spaces plugin is not enabled, because the Spaces plugin exposes the HTTP route to handle this. In addition, as I mentioned above, the latter doesn't make a lot of sense when you may have an object that is shared to "All spaces". With the current state of things, such an object cannot be unshared from a single space. In the interest of time and simplicity, I propose we move forward keeping this as simple as possible, just showing the Delete button with a callout informing the user that they are about to take an action that will affect other spaces. I don't think we should attempt to render an additional column; the modal doesn't have a whole lot of space. I have a quick mockup below: |
I got confused over "shared objects" and "saved objects", so how about making this distinction in the text: Title: 2 of your saved objects are shared Description: Shared objects are deleted from every space they are in. Button: Delete x objects |
When deleting saved objects which are shared across spaces, we should warn the users that the action will cause the deletion of the s.o. from all spaces (in contrast to "unsharing"/removing a s.o. from a space). Perhaps a message explaining so in the delete modal is sufficient?
The text was updated successfully, but these errors were encountered: