-
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
Make tag
saved objects shareable ('multiple-isolated' -> 'multiple')
#143869
Comments
Pinging @elastic/kibana-core (Team:Core) |
tag
saved objects shareable ('multiple-isolated' -> 'multiple')tag
saved objects shareable ('multiple-isolated' -> 'multiple')
Some general guidance for making SO's multiple space aware https://www.elastic.co/guide/en/kibana/master/sharing-saved-objects.html#sharing-saved-objects-phase-2 |
TIL. Joe sure did some great documentation on this feature. Now more generally on the request: If I do think this could eventually make sense to have tags shareable, I would very much like to have a proper expression of need coming from Product for it. To elaborate a bit, changing the whole SOT APIs and UI to support tags being shareable is some significant work. In addition to what was listed in the issue's original description, I could add a few:
So, to summarize, such enhancement represents quite a lot of work, and I'd like Product to weight in regarding whether this is something we know we'll likely want / would make sense across all SO types that currently are, or will be, tag-able. cc @arisonl |
hi @pgayvallet thanks for looking into this. I agree I underestimated the work and wider implications of this request and it wouldn't be appropriate to do all this work to fix one bug for the Fleet team :D I am going to look into other workarounds. |
Closing this as I doubt there will be any demand for this in the near future, thanks again. |
For tracing purposes, in discussions with the security team at the time that saved objects had to change to become space-aware, we decided to migrate tag saved objects to |
Describe the feature: Make it so that tags can be shared across spaces. And a tag can be created, or updated with multiple namespaces.
Describe a specific use case for the feature: In Fleet, when an integration e.g Apache is installed with assets, e.g a dashboard, we tag the dashboard saved object with "Managed" and "Apache".
Because installs can happen concurrently and we only want to have one instance of the "Managed" and "Apache" tags, we override the IDs of the tag saved objects meaning there will never be a race condition where multiple are created.
We have found an issue where the hardcoded IDs now prevent a user from installing packages in multiple spaces #143388. This is because the hardcoded ID causes a conflict. If we could make tags shareable then we could use the same "Managed" tag in every space and not have this issue. (Note: looked into migrating the SO to include the space in the ID but this has been ruled out, see issue for more info)
Issues/Concerns:
Work needed:
initialNamespaces
to be provided inTagsClient.create
optionsupdateObjectsSpaces
from SO client)namespace
inTagsClient
get
getAll
anddelete
methodsThe text was updated successfully, but these errors were encountered: