Prefactor Account uniqueness for Edit Account #80
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TheAnachronism/tt-rss-viewer#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Generalize Account uniqueness checking so Edit Account can later keep the same
(normalized base URL, username)pair on the Account being edited. Sign-in behavior stays the same: adding an Account still rejects any existing matching pair.Acceptance criteria
(normalized base URL, username)can exclude a specific Account idBlocked by
Implemented: ensureAccountPairUnique with excludeAccountId; Sign-in wired through helper; tests for exclude-self + collision. Commit:
33ddaa6.