Workspace Request Lifecycle — Clerk + Allowlist + RBAC

Workspace Request Lifecycle — Clerk + Allowlist + RBAC A sequence diagram generated by Archify. GET workspace.matters.ai/webinars resolve session session claims domain allowlisted? allow / deny render shell currentUser + roles roles (13 roles) POST /api/... (mutation) checkRole then write ok + audit entry 200 JSON Edge gate Shell + RBAC Handler + audit Browser · team member · Sequence participant Browser team member Proxy · workspace middleware · Sequence participant Proxy workspace middleware Clerk · session verify · Sequence participant Clerk session verify Allowlist · @matters/auth · Sequence participant Allowlist @matters/auth App layout · defense in depth · Sequence participant App layout defense in depth API handler · route + checkRole · Sequence participant API handler route + checkRole MongoDB · data + audit · Sequence participant MongoDB data + audit Legend main request return security message