Skip to content

e2e-auth-tests:0.4.9 - cover GET /api/me/invitations isolation between users#141

Merged
jalexw merged 1 commit into
mainfrom
claude/serene-faraday-4ganeu
Jun 18, 2026
Merged

e2e-auth-tests:0.4.9 - cover GET /api/me/invitations isolation between users#141
jalexw merged 1 commit into
mainfrom
claude/serene-faraday-4ganeu

Conversation

@jalexw

@jalexw jalexw commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Adds a spec that creates two unrelated regular users, has the superuser
issue an org invitation to one of them, and asserts the invitee sees the
pending invitation on GET /api/me/invitations while a different
authenticated user does not see it in their own response. The endpoint
previously had no direct coverage of the invitee_uid filter that
prevents cross-user invitation leakage.

…n users

Adds a spec that creates two unrelated regular users, has the superuser
issue an org invitation to one of them, and asserts the invitee sees the
pending invitation on GET /api/me/invitations while a different
authenticated user does not see it in their own response. The endpoint
previously had no direct coverage of the invitee_uid filter that
prevents cross-user invitation leakage.
@jalexw jalexw self-assigned this Jun 18, 2026
@jalexw jalexw merged commit 60bcdfa into main Jun 18, 2026
43 checks passed
@jalexw jalexw deleted the claude/serene-faraday-4ganeu branch June 18, 2026 14:06
jalexw pushed a commit that referenced this pull request Jun 18, 2026
…sed v4 generator

Cypress browser context lacks crypto.randomUUID() because the auth server is
not served from a secure context. Mirrors the workaround already documented
in example_resource_server/ExternalJwksLoad.cy.ts.

Bumps the package to 0.4.10 to avoid colliding with main's 0.4.9 from #141.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01442m5sYx1WZgfdcmfyRkr2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants