Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
GetUser(ctx context.Context, userID string) (*types.User, error)
GetUserWithGroups(ctx context.Context, userID string) (*types.User, []*types.Group, error)
}
func NewManager ¶
func NewManagerMock ¶
func NewManagerMock() Manager
type UserInfoWithPermissions ¶ added in v0.43.2
type UserInfoWithPermissions struct {
*types.UserInfo
Permissions roles.Permissions
Restricted bool
}
Wrapped UserInfo with Role Permissions
Click to show internal directories.
Click to hide internal directories.