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
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user