Skip to content

Commit

Permalink
Update x-pack/plugins/security/server/deprecations/privilege_deprecat…
Browse files Browse the repository at this point in the history
…ions.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
  • Loading branch information
XavierM and jportner authored Oct 1, 2021
1 parent de67951 commit bda97f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const getPrivilegeDeprecationsServices = (
>();
kibanaRoles = Object.entries(elasticsearchRoles).map(([roleName, elasticsearchRole]) =>
transformElasticsearchRoleToRole(
// @ts-expect-error @elastic/elasticsearch `XPackRole` type doesn't define `applications` and `transient_metadata`.
// @ts-expect-error `SecurityIndicesPrivileges.names` expected to be `string[]`
elasticsearchRole,
roleName,
authz.applicationName
Expand Down

0 comments on commit bda97f8

Please sign in to comment.