CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 8m42s
Since portal#82 / tenant-registry#64 an IT admin or staff can block a
member per workspace; the registry records it, never disables the
Keycloak user, and Prüfwerk let a blocked member back in after a new
login.
- The entitlement check now sends the person's Keycloak `sub` as
`user_id`; the registry answers `allowed: false, reason:
member_blocked` for a blocked member, and the agent refuses with
403 {"error":"MEMBER_BLOCKED"}. Cached per tenant and user for up to
60 s, like the entitlement answer. Only person tokens are checked:
support takes its own path, and service tokens (platform API, runner)
carry no tenant context there. The registry allows when its own block
lookup fails; an unreachable registry is still refused as before
(entitlement fails closed).
- GET /api/v1/access: answered only past authentication, entitlement
and role checks, for the dashboard's sign-in check.
- Dashboard: check_auth asks it once per page load (not for support)
and a blocked member sees only "Zugang gesperrt" ("Ihr Zugang zu
diesem Arbeitsbereich ist gesperrt oder wurde entfernt…"), with the
way back to the portal and sign-out. AuthInfo gains member_blocked.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p