• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GEWIS / sudosos / 37586693362
88%

Build:
DEFAULT BRANCH: develop
Ran 07 Oct 2026 07:25AM UTC
Jobs 1
Files 299
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Oct 2026 07:20AM UTC coverage: 92.458% (+0.02%) from 92.435%
37586693362

push

github

web-flow
Reject soft-deleted users from logging in (#157)

* fix(backend): reject deleted users on every login path

LDAP, GEWIS LDAP and GEWISweb login issued tokens to soft-deleted users,
and existing tokens kept working and refreshing after deletion.

Credential lookups now treat deleted users as invalid credentials:
HashAuthentication and LDAPAuthentication reject them with the usual
403, matching the NFC/EAN authenticators. GEWIS LDAP rejects before
bindUser, so no LDAPAuthenticator is created for a deleted member.
GEWISweb's user handling moves into Gewis.findOrCreateUserFromWeb,
which rejects before updateUser could re-activate the account.

TokenMiddleware checks User.deleted on every request, so deleting a
user revokes their tokens and stops sliding refresh.

getSaltedToken still throws DeletedUserError as a last-resort guard
for callers that skip these checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(backend): cover deleted-user rejection for token issuing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(backend): exclude deleted users from NFC user lookup

GET /users/nfc/{nfcCode} returned soft-deleted users. It now returns
404, like an unknown NFC code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(backend): document that deleting a user blocks login

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

4617 of 5224 branches covered (88.38%)

Branch coverage included in aggregate %.

67 of 69 new or added lines in 6 files covered. (97.1%)

22979 of 24623 relevant lines covered (93.32%)

805.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.73
5.26% backend/src/gewis/gewis.ts
Jobs
ID Job ID Ran Files Coverage
1 37586693362.1 07 Oct 2026 07:25AM UTC 299
92.46
GitHub Action Run
Source Files on build 37586693362
  • Tree
  • List 299
  • Changed 8
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37586693362
  • 35413448 on github
  • Prev Build on develop (#37473379360)
  • Next Build on develop (#37788454898)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc