Skip to content

Spaces API - default disabledFeatures to empty array - #40017

Merged
legrego merged 2 commits into
elastic:masterfrom
legrego:spaces/df-api-fix
Jul 1, 2019
Merged

legrego merged 2 commits into
elastic:masterfrom
legrego:spaces/df-api-fix

Conversation

@legrego

@legrego legrego commented Jul 1, 2019 •

Copy link
Copy Markdown
Member

Summary

Fixes #40014

The disabledFeatures property is optional on the Spaces API. When not specified, we should default this property to an empty array.

"Release notes: Fixes scenario where a Space is created via the API without specifying any disabledFeatures"

@legrego legrego added release_note:fix Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// Feature:Security/Spaces Platform Security - Spaces feature labels Jul 1, 2019
@legrego
legrego requested a review from a team as a code owner July 1, 2019 13:52
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-security

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@legrego

legrego commented Jul 1, 2019

Copy link
Copy Markdown
Member Author

retest

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@legrego
legrego requested a review from kobelb July 1, 2019 17:03
@legrego
legrego merged commit 544ef71 into elastic:master Jul 1, 2019
@legrego
legrego deleted the spaces/df-api-fix branch July 1, 2019 17:16
legrego added a commit to legrego/kibana that referenced this pull request Jul 1, 2019
* default disabledFeatures to empty array

* update PUT spaces tests
legrego added a commit to legrego/kibana that referenced this pull request Jul 1, 2019
* default disabledFeatures to empty array

* update PUT spaces tests
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
* default disabledFeatures to empty array

* update PUT spaces tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Security/Spaces Platform Security - Spaces feature release_note:fix Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// v7.2.1 v7.3.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[spaces] missing optional parameter disabledFeatures results in internal error

3 participants