1
0
mirror of https://github.com/rancher/types.git synced 2025-09-02 05:35:16 +00:00

Add GetUserFromCache to user manager interface

This commit is contained in:
rajashree
2019-02-12 15:28:44 -08:00
committed by Alena Prokharchyk
parent 003b587a64
commit 801e952784

View File

@@ -15,4 +15,5 @@ type Manager interface {
CheckAccess(accessMode string, allowedPrincipalIDs []string, userPrincipalID string, groups []v3.Principal) (bool, error)
SetPrincipalOnCurrentUserByUserID(userID string, principal v3.Principal) (*v3.User, error)
CreateNewUserClusterRoleBinding(userName string, userUID apitypes.UID) error
GetUserByPrincipalID(principalName string) (*v3.User, error)
}