Skip to content

Add admin endpoints and UI for deleting and expunging user accounts - #2158

Merged
ml-evs merged 9 commits into
mainfrom
ml-evs/tombstone-user-accounts
Oct 11, 2026
Merged

ml-evs merged 9 commits into
mainfrom
ml-evs/tombstone-user-accounts

Add checks that accounts are not deleted on patch endpoints

82c4884
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 11, 2026 in 1s

82.62% (+0.14%) compared to 5c9fab0

View this Pull Request on Codecov

82.62% (+0.14%) compared to 5c9fab0

Details

Codecov Report

❌ Patch coverage is 95.55556% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.62%. Comparing base (5c9fab0) to head (82c4884).

Files with missing lines Patch % Lines
pydatalab/src/pydatalab/routes/v0_1/admin.py 94.11% 3 Missing ⚠️
pydatalab/src/pydatalab/login.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2158      +/-   ##
==========================================
+ Coverage   82.48%   82.62%   +0.14%     
==========================================
  Files          91       91              
  Lines        8782     8860      +78     
==========================================
+ Hits         7244     7321      +77     
- Misses       1538     1539       +1     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/models/people.py 92.64% <100.00%> (+1.65%) ⬆️
pydatalab/src/pydatalab/models/traits.py 94.57% <100.00%> (ø)
pydatalab/src/pydatalab/routes/v0_1/collections.py 79.16% <100.00%> (+0.09%) ⬆️
pydatalab/src/pydatalab/routes/v0_1/items.py 86.84% <100.00%> (+0.01%) ⬆️
pydatalab/src/pydatalab/routes/v0_1/users.py 79.80% <100.00%> (+0.80%) ⬆️
pydatalab/src/pydatalab/login.py 88.15% <50.00%> (+3.02%) ⬆️
pydatalab/src/pydatalab/routes/v0_1/admin.py 78.80% <94.11%> (+3.19%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.