Skip to content

Handle nullable user policy fields, effective_policy, and API-key scopes from server PR #691 #240

Open

Description

@Quick104

Server PR Silo-Server/silo-server#691 changes the admin user API and auth responses. Client follow-up needed:

  • Admin user responses: max_streams, max_transcodes, max_playback_quality, transcode_allowed, audio_transcode_allowed, download_allowed, download_transcode_allowed, library_ids are now nullable (null = inherited from the access group), plus a new nullable requests_allowed. A new effective_policy object carries the resolved values — read that for display, not the raw fields.
  • PUT /api/v1/admin/users/{id} accepts explicit null to clear an override; 0 on a cap now means an explicit "unlimited" override rather than "defer to group".
  • Access groups gain transcode_allowed and audio_transcode_allowed.
  • Login and /auth/me download_allowed is now the resolved (group-aware) value.
  • API keys: scopes on create/list responses; GET /api/v1/api-keys/scopes lists supported scopes.

Verify any admin or account-settings surface that decodes these fields tolerates null, and update UI that shows limits to use effective_policy.

Filed from the server PR review; pre-1.0 API, no compatibility shim on the server side.

Activity

  1. added
    triaged
    and removed
    triaged
    on Sep 20, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions