There's no existing tests for the saved object sharing functionality to capture bugs like the one reported on [the issue](https://github.com/opensearch-project/security-dashboards-plugin/issues/1012).