From c7562838bb96bf8d2d032c59a9d0133ee2405ecc Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 13 Dec 2022 09:31:32 -0500 Subject: [PATCH] [8.6] change file namespace type to multiple-isolated (#147198) (#147436) # Backport This will backport the following commits from `main` to `8.6`: - [change file namespace type to multiple-isolated (#147198)](https://github.com/elastic/kibana/pull/147198) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> --- .../saved_objects/migrations/check_registered_types.test.ts | 2 +- src/plugins/files/server/saved_objects/file.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts b/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts index f02bf2597343b..be255369c393b 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts @@ -85,7 +85,7 @@ describe('checking migration metadata changes on all registered SO types', () => "event_loop_delays_daily": "d2ed39cf669577d90921c176499908b4943fb7bd", "exception-list": "fe8cc004fd2742177cdb9300f4a67689463faf9c", "exception-list-agnostic": "49fae8fcd1967cc4be45ba2a2c66c4afbc1e341b", - "file": "05c14a75e5e20b12ca514a1d7de231f420facf2c", + "file": "f5d393602a4c103eb0ace983e6810f7f3666544b", "file-upload-usage-collection-telemetry": "8478924cf0057bd90df737155b364f98d05420a5", "fileShare": "3f88784b041bb8728a7f40763a08981828799a75", "fleet-fleet-server-host": "f00ca963f1bee868806319789cdc33f1f53a97e2", diff --git a/src/plugins/files/server/saved_objects/file.ts b/src/plugins/files/server/saved_objects/file.ts index c4259e6d679c3..9997b665682d8 100644 --- a/src/plugins/files/server/saved_objects/file.ts +++ b/src/plugins/files/server/saved_objects/file.ts @@ -51,7 +51,7 @@ const properties: Properties = { export const fileObjectType: SavedObjectsType = { name: FILE_SO_TYPE, hidden: true, - namespaceType: 'agnostic', + namespaceType: 'multiple-isolated', management: { importableAndExportable: false, },