feat: change email, export my data, delete account (with data anonymization)

This commit is contained in:
Florian Sylvain committed 2026-10-30 20:19:07 +01:00
1 parent bb191c389a
commit 10a66cd979
123 files changed
+10789 -76

No files matched your search

+1 -1
View File
@@ -606,7 +606,7 @@ func TestUsersAPIPublicUserShape(t *testing.T) {
w := newUsersAPIWorld(t)
rec := w.do(t, uaAdmin, http.MethodGet, "/v1/auth/me", "")
body := usersAPIDecode(t, rec)
apiKeyAssertExactFields(t, body, "id", "username", "email", "is_verified", "created_at", "updated_at", "display_name", "author", "access")
apiKeyAssertExactFields(t, body, "id", "username", "email", "is_verified", "created_at", "updated_at", "display_name", "pending_email", "author", "access")
if usersAPIRoleName(t, rec) != "Admin" {
t.Errorf("access.role must stay")
}