diff --git a/src/core/server/index.ts b/src/core/server/index.ts index 3e338955321f..a103a90bf16c 100644 --- a/src/core/server/index.ts +++ b/src/core/server/index.ts @@ -326,6 +326,9 @@ export { SavedObjectsDeleteByWorkspaceOptions, Permissions, ACL, + Principals, + TransformedPermission, + PrincipalType, } from './saved_objects'; export { diff --git a/src/core/server/saved_objects/index.ts b/src/core/server/saved_objects/index.ts index 98c93c92ec0b..11809c5b88c9 100644 --- a/src/core/server/saved_objects/index.ts +++ b/src/core/server/saved_objects/index.ts @@ -85,4 +85,10 @@ export { export { savedObjectsConfig, savedObjectsMigrationConfig } from './saved_objects_config'; export { SavedObjectTypeRegistry, ISavedObjectTypeRegistry } from './saved_objects_type_registry'; -export { Permissions, ACL, Principals, TransformedPermission, PrincipalType } from './permission_control/acl'; +export { + Permissions, + ACL, + Principals, + TransformedPermission, + PrincipalType, +} from './permission_control/acl'; diff --git a/src/plugins/workspace/server/permission_control/client.ts b/src/plugins/workspace/server/permission_control/client.ts index 920a4398e0e4..2d8bf80491c3 100644 --- a/src/plugins/workspace/server/permission_control/client.ts +++ b/src/plugins/workspace/server/permission_control/client.ts @@ -11,9 +11,9 @@ import { PrincipalType, SavedObjectsBulkGetObject, SavedObjectsServiceStart, -} from '../../../../core/server/saved_objects'; -import { Logger } from '../../../../core/server'; -import { WORKSPACE_TYPE } from '../../../../core/utils'; + Logger, + WORKSPACE_TYPE, +} from '../../../../core/server'; import { WORKSPACE_SAVED_OBJECTS_CLIENT_WRAPPER_ID } from '../../common/constants'; export type SavedObjectsPermissionControlContract = Pick<