mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Authz] Types cleanup for AuthorizationServiceSetup (#204208)
## Summary Types cleanup for AuthorizationServiceSetup. __Relates: https://github.com/elastic/kibana/issues/196271__
This commit is contained in:
parent
c2a1dd5813
commit
bf40e560e7
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue