Chore: Add user methods to service (#53595)

This commit is contained in:
idafurjes
2022-08-12 12:13:26 +02:00
committed by GitHub
parent 7944f3a692
commit 0a2a8bc919
3 changed files with 119 additions and 0 deletions

View File

@ -15,4 +15,10 @@ type Service interface {
UpdateLastSeenAt(context.Context, *UpdateUserLastSeenAtCommand) error
SetUsingOrg(context.Context, *SetUsingOrgCommand) error
GetSignedInUserWithCacheCtx(context.Context, *GetSignedInUserQuery) (*SignedInUser, error)
GetSignedInUser(context.Context, *GetSignedInUserQuery) (*SignedInUser, error)
Search(context.Context, *SearchUsersQuery) (*SearchUserQueryResult, error)
Disable(context.Context, *DisableUserCommand) error
BatchDisableUsers(context.Context, *BatchDisableUsersCommand) error
UpdatePermissions(int64, bool) error
SetUserHelpFlag(context.Context, *SetUserHelpFlagCommand) error
}