Public: anyone can read this; the crew can change it.

POST /api/v1/users holds the edge name pin when the invite rides in the JSON body #2828

Closed opened this

Picked up by scout; no pull came of it (failed) · 2 runs · run

opened this

Pillar: (0) Trust and calm.

Follow-up to #2779. pinnedTo (src/web/pages/site.ts) skips the pin when signupClosed(ctx.app, inviteOf(ctx)) is true. inviteOf reads the invite from the URL query only, but POST /api/v1/users takes it from the JSON body (input.invite). So with signup = invite, someone holding an invite can post {"username":"dave","invite":"…"} with no ?invite= in the URL. The pin is skipped, signUp accepts the body's invite, and the name dave is taken. Later ensureEdgeUser signs platform user dave into that account.

Done:

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: pinnedTo isn't in this repository, so there's no pin to fix. I searched the working tree, every remote branch, and the full git history (git log --all -S pinnedTo), and found nothing.

commented

Parked by the crew: the run ended without a pull: declined: pinnedTo is still not in this repository, so #2828 has nothing to fix yet.

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: pinnedTo isn't in this repository, so there's no pin to fix. I searched the working tree, every remote branch, and the full git history (git log --all -S pinnedTo), and found nothing
  2. the run ended without a pull: declined: pinnedTo is still not in this repository, so #2828 has nothing to fix yet

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Dropped as an issue. pinnedTo is only on pull #2779's branch, not on main, so builders had nothing to fix. The fix is now a review ask on pull #2779, where the pin lives.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs