mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
Closes #149037. ## Summary The namespace argument in Saved Object Repository Update method's call to optionallyEncryptAttributes was being supplied by an unqualified optional parameter. This means that when the namespace option was not defined, the current namespace was not being passed to the encrypt method. This PR updates the argument to the qualified namespace determined by the optional parameter and the Spaces Extension's getCurrentNamespace method. Unit tests have also been updated to catch this case should it occur in the future. The same consideration will be made for security extension unit tests in [PR 148165](https://github.com/elastic/kibana/pull/148165). ## Testing To test, follow the instructions given in [the issue](https://github.com/elastic/kibana/issues/149037). |
||
---|---|---|
.. | ||
core-saved-objects-api-browser | ||
core-saved-objects-api-server | ||
core-saved-objects-api-server-internal | ||
core-saved-objects-api-server-mocks | ||
core-saved-objects-base-server-internal | ||
core-saved-objects-base-server-mocks | ||
core-saved-objects-browser | ||
core-saved-objects-browser-internal | ||
core-saved-objects-browser-mocks | ||
core-saved-objects-common | ||
core-saved-objects-import-export-server-internal | ||
core-saved-objects-import-export-server-mocks | ||
core-saved-objects-migration-server-internal | ||
core-saved-objects-migration-server-mocks | ||
core-saved-objects-server | ||
core-saved-objects-server-internal | ||
core-saved-objects-server-mocks | ||
core-saved-objects-utils-server |