Skip to content

[feature] Let a household manager block a profile from requests #601

Open

Description

@Rhainland

Problem

Silo-Server/silo-server#1430 adds a per-profile requests switch. A household manager can turn requests off for one profile, for example a child's, while the account and its other profiles keep them. A blocked profile is kept out of request discovery as well as requests. Discovery browses TMDB, and the library's parental controls reach it only as a US certification filter. The advisory-age limit doesn't apply there at all.

The server reports the switch as requests_allowed on /api/v2 profiles, and reports support for it as requests_allowed_supported on the listProfiles response. The profile operations reject unknown members, so a client must send requests_allowed only to a server that reports support.

The Android phone and TV apps can't set or show the switch. A manager who creates or edits a kids profile in the app leaves it able to browse TMDB discovery and submit requests. The only way to block it is from the web app.

A blocked profile already gets allowed: false from GET /api/v2/requests/status, so RequestsFeatureStore hides the Requests entry points on phone and TV. A profile blocked while it is in use is not caught until the next profile, server or sign-in change. Until then its request screens stay open. A 403 from a request operation shows as a plain error, because RequestDetailViewModel refreshes the capability only on capability_* codes.

Device

Phone, Tablet, Android TV / Google TV

Current workaround

Block the profile from the web app's profile editor.

Proposed behavior

  • The create and edit profile screens, on phone and TV, have an "Allow requests" switch. It shows the profile's current value and appears only when the server reports requests_allowed_supported. A save sends requests_allowed only in that case.
  • Turning on "Child Profile" turns requests off, unless the manager already changed the switch. Turning it off turns requests back on. This matches the web Kids preset.
  • A 403 from a request operation refreshes the requests capability, so a profile blocked mid-session loses the Requests entry points.

Technical notes

  • ProfileV2, ProfileUpdate, CreateProfileRequest and UpdateProfileRequest need the field.
  • ProfileCollectionV2 and ProfilesResponse need the support flag.
  • A requests_allowed change bumps the account's access policy revision. HouseholdManagementSession already re-verifies and retries for the other access fields.

AI disclosure

  • Harness: Claude Code (T3 Code)
  • Model: Claude Opus 5.5 (claude-opus-5-5)
  • Involvement: Fully AI-generated, human verified
  • Review: written from a code read of this repository and the server change

Activity

  1. added
    api-v2
    enhancement
    impact: security
    priority: P2
    triaged
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-v2enhancementimpact: securitypriority: P2triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions