[Reporting] Clarify deprecation changes of the roles settings#121349
[Reporting] Clarify deprecation changes of the roles settings#121349tsullivan merged 8 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/kibana-app-services (Team:AppServicesUx) |
|
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
| ` The "{fromPath}.roles.enabled" setting will default to false` + | ||
| ` in a future release.`, | ||
| values: { fromPath }, | ||
| `The default mechanism for Reporting privilege will work differently in future versions,` + |
There was a problem hiding this comment.
either "the Reporting privilege" or "Reporting privileges"
There was a problem hiding this comment.
Thanks. I'll go with Reporting privileges
| message: i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.description', { | ||
| defaultMessage: | ||
| 'Existing users have their Reporting privilege granted by a deprecated setting.', | ||
| `The default mechanism for Reporting privilege will work differently in future versions, and` + |
There was a problem hiding this comment.
Same comment as above. Singular or plural for Reporting privilege.
| defaultMessage: | ||
| 'Existing users have their Reporting privilege granted by a deprecated setting.', | ||
| `The default mechanism for Reporting privilege will work differently in future versions, and` + | ||
| ` this cluster contains users who have a deprecated role for this privilege.` + |
There was a problem hiding this comment.
"has" instead of "contains"? contains makes me think that users are inside of the clusters.
| i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepThree', { | ||
| defaultMessage: 'Create a custom role with Kibana privileges to grant access to Reporting.', | ||
| defaultMessage: | ||
| `Create one or more roles that grant the Kibana application` + |
There was a problem hiding this comment.
Would this work?
Go to Management > Security > Roles to create or more roles that grant the Kibana application privilege for Reporting.
Elsewhere, you use Reporting (capital R). Is that correct here?
| defaultMessage: 'Existing roles are mapped to a deprecated role for Reporting privileges', | ||
| message: i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.description', { | ||
| defaultMessage: | ||
| `The default mechanism for Reporting privilege will work differently in future versions, and` + |
There was a problem hiding this comment.
Same comment as above. Singular or plural?
| i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepThree', { | ||
| defaultMessage: 'Create a custom role with Kibana privileges to grant access to Reporting.', | ||
| defaultMessage: | ||
| `Create one or more roles that grant the Kibana application` + |
| ` Users assigned a reporting role specified in "xpack.reporting.roles.allow"` + | ||
| ` will no longer have reporting privileges, they must be assigned an application privilege based role.`, | ||
| i18n.translate('xpack.reporting.deprecations.reportingRoles.manualStepFour', { | ||
| defaultMessage: `Grant reporting privileges to users by assigning one of the new roles.`, |
There was a problem hiding this comment.
Is it clear to users what the new roles are?
There was a problem hiding this comment.
the new roles must be created by the admin
| `Grant reporting privileges to users by assigning one of the new roles.` + | ||
| ` Users assigned a reporting role specified in "xpack.reporting.roles.allow"` + | ||
| ` will no longer have reporting privileges, they must be assigned an application privilege based role.`, | ||
| `Go to **Management > Security > Roles** to create one or more roles that grant` + |
There was a problem hiding this comment.
I noticed that bold formatting doesn't show up in the screenshots. Best to remove the **.
| i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepThree', { | ||
| defaultMessage: 'Create a custom role with Kibana privileges to grant access to Reporting.', | ||
| defaultMessage: | ||
| `Go to **Management > Security > Roles** to create one or more roles that grant` + |
| i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepThree', { | ||
| defaultMessage: 'Create a custom role with Kibana privileges to grant access to Reporting.', | ||
| defaultMessage: | ||
| `Go to **Management > Security > Roles** to create one or more roles that grant` + |
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
…c#121349) * [Reporting] Clarify deprecation changes of the roles settings * updates per feedback * update test snapshots * minor fix * fix i18n * remove formatting marks Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…c#121349) * [Reporting] Clarify deprecation changes of the roles settings * updates per feedback * update test snapshots * minor fix * fix i18n * remove formatting marks Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json
… (#121444) * [Reporting] Clarify deprecation changes of the roles settings * updates per feedback * update test snapshots * minor fix * fix i18n * remove formatting marks Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
… (#121447) * [Reporting] Clarify deprecation changes of the roles settings * updates per feedback * update test snapshots * minor fix * fix i18n * remove formatting marks Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json
Summary
Closes #120263
Follows: #115125, #100427, #94966
Checklist
Delete any items that are not applicable to this PR.
Screenshots
Warning in the startup logs
Warning in the upgrade assistant
Warning seen if a role mapping to
reporting_userexistsWarning seen if an existing user has the reporting_user role