feat: change email, export my data, delete account (with data anonymization)
This commit is contained in:
1 parent
bb191c389a
commit
10a66cd979
123 files changed
+10789
-76
No files matched your search
@@ -17,6 +17,10 @@ type Repository interface {
|
||||
ClearVerificationCode(userId uint32) (User, error)
|
||||
ResetPassword(userId uint32, hashedPassword string) (User, error)
|
||||
UpdateDisplayName(userId uint32, displayName string) (User, error)
|
||||
IsEmailInUse(email string, exceptUserId uint32) (bool, error)
|
||||
SetPendingEmailChange(userId uint32, pendingEmail string, code string, expiration time.Time) (User, error)
|
||||
ClearPendingEmailChange(userId uint32) (User, error)
|
||||
ConfirmEmailChange(userId uint32, pendingEmail string, code string, now time.Time) (User, error)
|
||||
UpdateRole(id uint32, from uint32, to uint32, assignedBy uint32) (User, error)
|
||||
TransferOwnership(from uint32, to uint32, ownerRoleID uint32, formerRoleID uint32) error
|
||||
}
|
||||
Reference in new issue
Block a user