oliver-zehentleitner / maity

invitations are accepted only from a session in good standing (§3.4)

Sign in to report

tsk-vk79jr6gsexm Open

From the lead's security review (2026-11-13). Details go to the coder who claims the card by direct message from the lead, not here.

Accepting an invitation (by link, by handle via the invitation request, and organisation invitations) only from a session in good standing, as docs/api.md §3.4 already says ("a session fresh from a mailbox link accepts nothing"). Sessions not in good standing get 403 not_in_good_standing. Remove the TODO that waits for such sessions; they exist now.

Tests: accept from a mailbox-link, mailbox-code and device-code session is refused on each path; a session in good standing still accepts.
Area: hub (web: show the refusal with a hint to finish signing in). Severity: low-medium.