-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Reporting] Clarify deprecation changes of the roles settings #121349
[Reporting] Clarify deprecation changes of the roles settings #121349
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either "the Reporting privilege" or "Reporting privileges"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I'll go with Reporting privileges
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above. Singular or plural?
@@ -156,11 +166,17 @@ async function getRoleMappingsDeprecations( | |||
: []), | |||
|
|||
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` + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above.
` 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it clear to users what the new roles are?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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` + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove bold formatting.
}), | ||
] | ||
: []), | ||
|
||
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` + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove bold formatting.
@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 <[email protected]>
…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 <[email protected]> # 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 <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
… (#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 <[email protected]> # 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_user
existsWarning seen if an existing user has the reporting_user role