diff --git a/x-pack/packages/security/plugin_types_server/src/plugin.ts b/x-pack/packages/security/plugin_types_server/src/plugin.ts index c834dc46225f3..7d37935ab760a 100644 --- a/x-pack/packages/security/plugin_types_server/src/plugin.ts +++ b/x-pack/packages/security/plugin_types_server/src/plugin.ts @@ -45,7 +45,7 @@ export interface SecurityPluginStart { /** * Authorization services to manage and access the permissions a particular user has. */ - authz: Omit; + authz: AuthorizationServiceSetup; /** * User profiles services to retrieve user profiles. * diff --git a/x-pack/plugins/security/server/plugin.ts b/x-pack/plugins/security/server/plugin.ts index 119dbcef13427..f0a218b8424b5 100644 --- a/x-pack/plugins/security/server/plugin.ts +++ b/x-pack/plugins/security/server/plugin.ts @@ -80,7 +80,7 @@ export interface SecurityPluginSetup extends SecurityPluginSetupWithoutDeprecate /** * @deprecated Use `authz` methods from the `SecurityServiceStart` contract instead. */ - authz: Omit; + authz: AuthorizationServiceSetup; } export interface PluginSetupDependencies {