[Authz] Types cleanup for AuthorizationServiceSetup (#204208)

## Summary

Types cleanup for AuthorizationServiceSetup.

__Relates: https://github.com/elastic/kibana/issues/196271__
This commit is contained in:
Elena Shostak 2024-12-13 17:09:34 +01:00 committed by GitHub
parent c2a1dd5813
commit bf40e560e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ export interface SecurityPluginStart {
/**
* Authorization services to manage and access the permissions a particular user has.
*/
authz: Omit<AuthorizationServiceSetup, 'getCurrentUser' | 'getSecurityConfig'>;
authz: AuthorizationServiceSetup;
/**
* User profiles services to retrieve user profiles.
*

View file

@ -80,7 +80,7 @@ export interface SecurityPluginSetup extends SecurityPluginSetupWithoutDeprecate
/**
* @deprecated Use `authz` methods from the `SecurityServiceStart` contract instead.
*/
authz: Omit<AuthorizationServiceSetup, 'getCurrentUser' | 'getSecurityConfig'>;
authz: AuthorizationServiceSetup;
}
export interface PluginSetupDependencies {