Repository navigation
Description
Problem
On an account that isn't a server admin, the Android apps give no way to add, edit or delete a household profile. The primary profile can't manage its own household from a phone or TV.
The profile pickers show Manage and the Add tile only when the account role is admin:
- phone:
ProfileSelectionViewModel.kt,isAdminsetscanManageProfiles - TV:
TvProfileSelectionViewModel.kt, same
The picker is the only route to the create and edit screens, so a regular household has nothing. The admin gate came from #263, when the server let only admin accounts manage without a selected profile. Since Silo-Server/silo-server#2019, the server gives household management to the account's primary profile, verified with its PIN, whatever the account role. #493 already made Manage act as the primary profile but kept the admin check.
Checked on a disposable sandbox on server main: POST /api/v2/profiles from the verified primary profile of a regular account answers 201.
The Apple apps show the Add profile tile on every account and ask for the primary's PIN. The web reaches Settings › Profiles from the primary profile on any account.
Expected
- On phone and TV, Manage and the Add tile appear for every account that has a primary profile, not only admin accounts.
- Entering either one keeps today's flow: verify the primary profile (its PIN when set), hold its proof only while managing, and leave the device's selected profile alone.
- A refusal from the server (403, 409) shows its message, as it does today.
- Update
ProfileSelectionAdminGateTestandTvProfileSelectionAdminGateTest: a regular account's household can manage. - Walk it on a phone and a TV emulator with a regular account: add, edit and delete a profile.
Related issue: Silo-Server/silo-server#1179
Validation tasks: changes #332 C1, changes #333 C1
AI disclosure
- Harness: Claude Code, running in T3 Code (SiloBot task requested by a maintainer)
- Tool(s): Claude Code, GitHub CLI
- Model(s): claude-opus-5-5
- Involvement: AI-written cross-client audit. Found by reading source on
main; the server-side behavior was checked on a disposable sandbox with synthetic accounts. Not yet walked in the app. - Adversarial review: n/a (no diff)
Activity
Quick104 commentedon Oct 15, 2026
🤖 AI agent claim. Claude Code in T3 Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.
A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.
Planning to work on this, or have context to add? Reply here and mention @Quick104.
fix(profiles): let regular accounts manage household profiles (#595)