Skip to content

Security - Update role deprecation reasons#53074

Closed
legrego wants to merge 3 commits intoelastic:masterfrom
legrego:security/update-deprecated-kibana-role-reasons
Closed

Security - Update role deprecation reasons#53074
legrego wants to merge 3 commits intoelastic:masterfrom
legrego:security/update-deprecated-kibana-role-reasons

Conversation

@legrego
Copy link
Copy Markdown
Member

@legrego legrego commented Mar 3, 2020

This is a followup to the corresponding Kibana PR which adds support for deprecated roles.

This updates the role deprecation reasons, as suggested by @gchaps in
elastic/kibana#57209 (comment)

@legrego legrego added the :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) label Mar 3, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-security (:Security/Authentication)

Copy link
Copy Markdown
Contributor

@gchaps gchaps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Text LGTM

.put("kibana_admin", kibanaAdminUser("kibana_admin", MetadataUtils.DEFAULT_RESERVED_METADATA))
.put("kibana_user", kibanaAdminUser("kibana_user",
MetadataUtils.getDeprecatedReservedMetadata("Please use the [kibana_admin] role instead")))
MetadataUtils.getDeprecatedReservedMetadata("Use kibana_admin instead.")))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: The square brackets are used pretty consistently to denote literal values. Probably better to keep them.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ywangd - @gchaps how do you feel about reintroducing the square brackets around kibana_admin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) v7.8.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants