[8.x] [Spaces] Remove forceSolutionVisibility yml setting (#204726) (#204805)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Spaces] Remove forceSolutionVisibility yml setting
(#204726)](https://github.com/elastic/kibana/pull/204726)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sébastien
Loix","email":"sebastien.loix@elastic.co"},"sourceCommit":{"committedDate":"2024-12-18T16:58:47Z","message":"[Spaces]
Remove forceSolutionVisibility yml setting
(#204726)","sha":"cd3c5b6704ce5c97f272e4552c4cfa81cc58f630","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Security/Spaces","release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"[Spaces]
Remove forceSolutionVisibility yml
setting","number":204726,"url":"https://github.com/elastic/kibana/pull/204726","mergeCommit":{"message":"[Spaces]
Remove forceSolutionVisibility yml setting
(#204726)","sha":"cd3c5b6704ce5c97f272e4552c4cfa81cc58f630"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204726","number":204726,"mergeCommit":{"message":"[Spaces]
Remove forceSolutionVisibility yml setting
(#204726)","sha":"cd3c5b6704ce5c97f272e4552c4cfa81cc58f630"}}]}]
BACKPORT-->

Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co>
This commit is contained in:
Kibana Machine 2024-12-19 06:01:35 +11:00 committed by GitHub
parent a9cbf2077c
commit cd14c09708
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 16 deletions

View file

@ -23,9 +23,6 @@ describe('config schema', () => {
"allowFeatureVisibility": true,
"allowSolutionVisibility": true,
"enabled": true,
"experimental": Object {
"forceSolutionVisibility": false,
},
"maxSpaces": 1000,
}
`);
@ -35,9 +32,6 @@ describe('config schema', () => {
"allowFeatureVisibility": true,
"allowSolutionVisibility": true,
"enabled": true,
"experimental": Object {
"forceSolutionVisibility": false,
},
"maxSpaces": 1000,
}
`);
@ -47,9 +41,6 @@ describe('config schema', () => {
"allowFeatureVisibility": true,
"allowSolutionVisibility": true,
"enabled": true,
"experimental": Object {
"forceSolutionVisibility": false,
},
"maxSpaces": 1000,
}
`);

View file

@ -54,13 +54,6 @@ export const ConfigSchema = schema.object({
defaultValue: true,
}),
}),
experimental: schema.maybe(
offeringBasedSchema({
traditional: schema.object({
forceSolutionVisibility: schema.boolean({ defaultValue: false }),
}),
})
),
});
export function createConfig$(context: PluginInitializerContext) {