Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2672 forget users #2709

Merged
merged 4 commits into from
May 26, 2022
Merged

2672 forget users #2709

merged 4 commits into from
May 26, 2022

Conversation

iamleeg
Copy link
Contributor

@iamleeg iamleeg commented May 25, 2022

Here is the UI change that allows an admin user to delete any user. There is no bulk delete action: you must choose one user, press two buttons (bring up the menu, then press delete), then confirm in a dialog box. Deleting your own account is possible, and on doing so you'll be redirected to the homepage (where you find you are logged out).

At some point, the Google OAuth provider has changed from not
returning a name at all (i.e. undefined) to returning null for
a name. Because this can be stored in the database, it produces
500 errors when viewing the user table (even though the curator
UI could correctly handle any falsey value for the name).

This change documents that the name is nullable, allowing the
null to be passed through and correctly interpreted by the UI.
@codecov-commenter
Copy link

Codecov Report

Merging #2709 (f649d21) into main (81e6a86) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2709   +/-   ##
=======================================
  Coverage   62.26%   62.26%           
=======================================
  Files          17       17           
  Lines        1219     1219           
  Branches      190      190           
=======================================
  Hits          759      759           
  Misses        460      460           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81e6a86...f649d21. Read the comment docs.

@iamleeg iamleeg merged commit 996db5c into main May 26, 2022
@iamleeg iamleeg deleted the 2672_forget_users branch May 26, 2022 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants