-
released this
2026-03-27 06:02:27 +00:00 | 8 commits to master since this releaseSummary
- The web UI now rejects MCIAS accounts with the
guestrole at login time, before setting the session cookie - Defense-in-depth alongside the
env:restrictedMCIAS tag - New
ValidateFuncparameter onwebserver.New()inspects token roles post-authentication - Non-admin
userrole accounts can now browse all repositories via the web UI (previously only admin could)
Design note
MCIAS
/v1/auth/logindoes not return roles in its response, so the web UI makes an extraValidateTokencall after login to inspect them. The result is cached for 30s. A future MCIAS change to include roles in the login response would eliminate this round-trip.Changed files
internal/webserver/server.go—ValidateFunctype, updatedNew()constructorinternal/webserver/auth.go— Guest role check after successful logincmd/mcr-web/main.go— Wire validate func viaauthClient.ValidateToken()internal/webserver/server_test.go—TestLoginDeniesGuestand expanded test accountsARCHITECTURE.md,PROGRESS.md,RUNBOOK.md— Documentation updates
Downloads
- The web UI now rejects MCIAS accounts with the