Skip to content

[Reporting] Add deprecation messages for roles mapped to reporting_user (#115125)#115875

Merged
tsullivan merged 1 commit intoelastic:masterfrom
tsullivan:reporting/roles-deprecation-errorhandling
Oct 21, 2021
Merged

[Reporting] Add deprecation messages for roles mapped to reporting_user (#115125)#115875
tsullivan merged 1 commit intoelastic:masterfrom
tsullivan:reporting/roles-deprecation-errorhandling

Conversation

@tsullivan
Copy link
Member

Port of #115125 to master/8.0

…er (elastic#115125)

* [Reporting] Add deprecation messages for roles mapped to reporting_user

This fixes the deprecations for various edge cases:
 - when security was disabled, users saw a meaningless error message
 - when users did not have manage_security privilege they saw a meaningless error message

Adds support for checking deprecations related to xpack.reporting.roles.allow

* updates to content per feedback

* updates per feedback

* store packageInfo in reportingCore

* use branch in the documentation links generated in the server

* add tests for scenario where config does not need to be changed
@tsullivan tsullivan added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Reporting Services labels Oct 20, 2021
@tsullivan tsullivan requested review from a team as code owners October 20, 2021 22:09
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@tsullivan tsullivan added v8.0.0 backport This PR is a backport of another PR and removed 8.0.0 labels Oct 20, 2021
@tsullivan tsullivan enabled auto-merge (squash) October 20, 2021 22:10
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@tsullivan tsullivan disabled auto-merge October 21, 2021 02:11
@tsullivan
Copy link
Member Author

Merging this as it is a clean cherry-pick of #115125

@tsullivan tsullivan merged commit b994dc7 into elastic:master Oct 21, 2021
@tsullivan tsullivan deleted the reporting/roles-deprecation-errorhandling branch October 21, 2021 02:12
@sophiec20 sophiec20 added the zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting backport This PR is a backport of another PR release_note:skip Skip the PR/issue when compiling release notes v8.0.0 zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants