Skip to content

[bug] Regular accounts can't add, edit or delete profiles in the Android apps #592

Closed

Description

@Quick104

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, isAdmin sets canManageProfiles
  • 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 ProfileSelectionAdminGateTest and TvProfileSelectionAdminGateTest: 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

  1. added
    bug
    parity-audit
    on Oct 15, 2026
  2. added
    impact: usability
    priority: P2
    triaged
    on Oct 15, 2026
  3. self-assigned this
    on Oct 15, 2026
  4. Quick104 commented on Oct 15, 2026

    @Quick104
    ContributorAuthor

    🤖 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.

  5. added a commit that references this issue on Oct 17, 2026
    62be1a2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugimpact: usabilityparity-auditpriority: P2triaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions