Grill: multi-instance account model #7
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#7
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?
Part of #1
Blocked by: #2, #4
Question
How does multi-instance work in the MVP: what is an “account”, what credentials/URL fields are stored, how does switching instances behave, and what does “personal now, shareable later” require at account-setup UX time vs explicitly defer?
Resolution
Multi-instance Account model locked for the MVP.
What an Account is
/; strip trailing/apior/api/; ApiClient POSTs to{baseUrl}/api/flutter_secure_storagefor login / transparent re-login)username@hostLifecycle
login→ requireapi_level≥ 23 → save → set active → List hub Fresh+UnreadLOGIN_ERROR,API_DISABLED(tell user to enable API access in tt-rss prefs), and network/TLS failures to clear messagessidbut keeps the same idlogout, delete metadata + secrets + that Account’s mark outbox; if active, switch to another Account (Fresh+Unread) or Sign-in root if none remainSwitching & prefs
Personal now / shareable later
MVP Sign-in is only baseUrl, username, password, optional displayName.
Deferred beyond this map: HTTP basic auth, client certs, custom CA / insecure SSL toggle, proxy, Wi‑Fi-SSID overlays, Account export/import / cloud backup. Packaging/privacy surface for distribution remains in Not yet specified.