You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Handle nullable user policy fields, effective_policy, and API-key scopes from server PR #691 #240
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/medownload_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