<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinos-ui.git/test/migrate-grant.test.ts, branch master</title>
<subtitle>coinos ui — legacy coinos.io web app (SvelteKit)</subtitle>
<id>https://git.coinos.io/coinos-ui.git/atom?h=master</id>
<link rel='self' href='https://git.coinos.io/coinos-ui.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-ui.git/'/>
<updated>2026-12-02T17:34:36Z</updated>
<entry>
<title>migrate: grant the registrar the session's own name, not the form's</title>
<updated>2026-12-02T17:34:36Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-02T17:34:36Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-ui.git/commit/?id=374afce1c93e25373eadce258edaa0398fb99faf'/>
<id>urn:sha1:374afce1c93e25373eadce258edaa0398fb99faf</id>
<content type='text'>
The /migrate action told the names registrar which v3 identity may claim
a name, using the `username` field from the submitted form. Any logged-in
account could post another user's name and be granted it. Look the name
up from the session (/me) instead, and refuse before sweeping or flagging
anything when there is no session.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
</content>
</entry>
</feed>
